Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About import script to Autocad and about "ROTATE"

1 REPLY 1
Reply
Message 1 of 2
man1005TY73S
300 Views, 1 Reply

About import script to Autocad and about "ROTATE"

Dear all,
I a new user of autocad.
I search something on internet and found the following script.
How can I import to my autocad and use it?

Another thing is,
I want to know something about ROTATE~
I found that when I use rotate common, after I choose the based point. the routine of the starting point will be on 15 degree everytime.
Can I rotate that from the point that I want?

Look forward to received any solution~
Thank you~

Tammy

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;* Rotate Multiple
;* Rotates many entities around their respective basepoints ;* allows selection by AUTOCAD selection sets or SSX. ;* Written by David Husch, January 1991 (defun c:rotmult () (prompt "Select Entities to Rotate, <ENTER> for SSX.") (setq ss (ssget)) (if (not ss) (setq ss (ssx))) (setq num (sslength ss)) (setq x 0) (if ss (if (setq ang (getreal "Enter Rotation Angle: ")) (repeat num (setq ename (ssname ss x)) (setq elist (entget ename)) (setq pnt (cdr(assoc 10 elist))) (command "Rotate" ename "" pnt ang) (setq x (1+ x)) ) ) ) )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

1 REPLY 1
Message 2 of 2
ВeekeeCZ
in reply to: man1005TY73S

It's called LISP. HERE  is a simple tutorial of usage.

In AutoCAD has term 'script' different meaning.

 

About the ROTATE command - explore a "Reference" option.

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


AutoCAD Beta