sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Guide Point and Line

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 3 Posters 284 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      Jim
      last edited by

      Has anyone noticed that when you create a Guide point and line using the Tape tool, both the Point and Line appear as a single entity (Sketchup::ConstructionPoint)?

      Hi

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        Yes, the base-cpoint and its cline are regarded as one cpoint.
        A lone cpoint is one cpoint.
        Alone cline is one cline !

        TIG

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          hmm.... and the entity only has the methods of a CPoint, nothing to that relates to CLine, so there's no way of knowing it's properties either. ...annoying...

          Thomas Thomassen β€” SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            The cpoint_with_cline is treated as if it were a lone cpoint at the picked point - i.e. the end of the line with the cpoint attached. The bit of line is ignored, you can't snap to it as if it were a normal cline !
            The cpoint_with_cline has the cline permanently attached and it cannot be removed separately...

            To get rid of the cpoint's cline try this...

            
            model=Sketchup.active_model;ss=model.selection;ents=model.active_entities;ss.clear;cpts=[];ents.each{|e|(cpts.push(e.position);ss.add(e))if e.kind_of?(Sketchup;;ConstructionPoint)};ss.each{|e|e.erase!};cpts.each{|p|model.active_entities.add_cpoint(p)}
            ### or could be reworked to apply to a selection... ;ents=ss.to_a;
            
            

            TIG

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement