Lt Dan's legs Posted June 16, 2010 Author Share Posted June 16, 2010 Perpendicular? Command: numinc [C]urve Aligned, [] Rotate CW, [T]oggle Count [Tab] = Rotate 90, [shift] + [Tab] = Mirror Rotation, [R]eplace, Select Curve to Align : > Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted June 16, 2010 Share Posted June 16, 2010 Oh, I just add (/ pi 2.) to the rotation Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted June 16, 2010 Share Posted June 16, 2010 I searched for acer [sic]-ss-drag-move and could not find it anywhere in that program. Thats because I didn't use it. But it does offer OSnap capability, which is a drawback when using a GrRead loop without significant coding to imitate ObjectSnap functionality. Quote Link to comment Share on other sites More sharing options...
Lt Dan's legs Posted June 16, 2010 Author Share Posted June 16, 2010 Thats because I didn't use it. But it does offer OSnap capability, which is a drawback when using a GrRead loop without significant coding to imitate ObjectSnap functionality. This is a code Alan wrote a while back. I have a some notes on acet-ss-drag-move (thanks alan for that! ) but I do not understand how to apply it. If it's not too difficult or time consuming, would you mind explaining where it goes? (defun c:1 (/ blockname p1 p2) ;; Alan J. Thompson, 05.05.10 ;; Modified by Reid B. (vl-load-com) (setq blockname "PANEL") (if (and (or (tblsearch "block" blockname) (findfile (strcat blockname ".dwg")) (alert (strcat blockname " cannot be found!")) ) (setq p1 (getpoint "\nSpecify block insertion point: ")) (setq p2 (getpoint p1 "\nSpecify block end point: ")) ) ((lambda (block) (foreach x (vlax-invoke block 'GetDynamicBlockProperties) (cond ((eq (vla-get-propertyname x) "Panel Length") (vla-put-value x (cond ("1") ) ) ) ) ) ) (vla-insertblock (if (or (eq acmodelspace (vla-get-activespace (cond (*AcadDoc*) ((setq *AcadDoc* (vla-get-activedocument (vlax-get-acad-object)))) ) ) ) (eq :vlax-true (vla-get-mspace *AcadDoc*)) ) (vla-get-modelspace *AcadDoc*) (vla-get-paperspace *AcadDoc*) ) (vlax-3d-point (trans p1 1 0)) blockname 1. 1. 1. (angle (trans p1 1 0) (trans p2 1 0)) ) ) ) (princ) ) ------ forgive my misspelled words. I was typing from my phone Quote Link to comment Share on other sites More sharing options...
Lt Dan's legs Posted June 17, 2010 Author Share Posted June 17, 2010 New question. How do I turn back on user settings with polar or ortho? I have a LISP that turns ortho on but I want to turn user settings back on when lisp is done. I found an example but I must be doing something wrong because ortho stays on after the routine. Quote Link to comment Share on other sites More sharing options...
Lt Dan's legs Posted June 17, 2010 Author Share Posted June 17, 2010 Nevermind! I'm an idiot! Quote Link to comment Share on other sites More sharing options...
alanjt Posted June 17, 2010 Share Posted June 17, 2010 New question. How do I turn back on user settings with polar or ortho? I have a LISP that turns ortho on but I want to turn user settings back on when lisp is done. I found an example but I must be doing something wrong because ortho stays on after the routine. ORTHOMODE and AUTOSNAP variables. Quote Link to comment Share on other sites More sharing options...
Lt Dan's legs Posted June 17, 2010 Author Share Posted June 17, 2010 ORTHOMODE and AUTOSNAP variables. I don't even want to admit what I did wrong. Sometimes it's better to take your eyes off of something for 5 minutes. Quote Link to comment Share on other sites More sharing options...
alanjt Posted June 17, 2010 Share Posted June 17, 2010 I don't even want to admit what I did wrong. Sometimes it's better to take your eyes off of something for 5 minutes. I do it all the time. I work out a lot of things on my drive home. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.