Jump to content

Way to toggle between endpoints/dim lines?


Recommended Posts

Posted

Sometimes when I'm drawing a line into a bunch of endpoints and dim lines its hard to find the right endpoint for that line.....instead of righ clicking and selecting snap override, is there a keyboard button that will quickly allow me to toggle the orange possible endpoints for the line I'm drawing?

Posted

You do realize that you can use the zoom command transparently during another command don't you? Zoom in a little tighter on the area you're working in and make your pick.

Posted

Just because I could :P

 

(defun c:dtog nil
 (vl-load-com)

 (vla-StartUndoMark
   (cond (*doc*) ((setq *doc* (vla-get-ActiveDocument
                                (vlax-get-acad-object))))))

 (vlax-for obj (vla-get-Block (vla-get-ActiveLayout *doc*))
                 
   (if (vl-position
         (vla-get-ObjectName obj)
         '("AcDbRotatedDimension" "AcDb2LineAngularDimension"
           "AcDbAlignedDimension" "AcDb3PointAngularDimension" "AcDbArcDimension"))
     
     (mapcar
       (function
         (lambda (x)
           (vlax-put-property obj x
             (if (eq :vlax-true (vlax-get-property obj x)) :vlax-false :vlax-true))))
       
       '(ExtLine1Suppress ExtLine2Suppress))))

 (vla-EndUndoMark *doc*)
 (princ))

Posted

Hi Lee,

Do you work in the architorture field? or any other one related with drafting/CD production? or something like that...

 

LE!

Posted

Hi Lee,

Do you work in the architorture field? or any other one related with drafting/CD production? or something like that...

 

LE!

 

Hey Luis,

 

I'm a student studying a Maths Degree at university (second year at the moment) - I spent 1 year in a drawing office after my A-levels and got hooked on LISP... hence sometimes I see the problems from a purely programming perspective...

Posted
Sometimes when I'm drawing a line into a bunch of endpoints and dim lines its hard to find the right endpoint for that line.....instead of righ clicking and selecting snap override, is there a keyboard button that will quickly allow me to toggle the orange possible endpoints for the line I'm drawing?

 

The tab button will cycle you through available snaps for your cursor position.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...