Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Contributor
Fatrobo
Posts: 23
Registered: ‎07-03-2006
Message 1 of 3 (1,082 Views)

Rotating text 180 degrees

1082 Views, 2 Replies
01-24-2010 03:12 PM
I am rotating text labelling some contours Depending on my sheet layouts they will either be one of two angles. So I need to find a lisp that will rotate text 180 degrees about the insertion pioint (assuming I set the justification to MC) so the text doesn't move but rotates 180 degrees.

I have serched around but most require a specific angle. This is not what i want, becuase they will all have different angles depending on the contour they are labeling. I just need to either leave them or rotate them by 180 degrees.

Any help is much appreciated.

Cheers.

Chris.
*Expert Elite*
Kent1Cooper
Posts: 5,603
Registered: ‎09-13-2004
Message 2 of 3 (1,082 Views)

Re: Rotating text 180 degrees

01-24-2010 04:45 PM in reply to: Fatrobo
That very issue came up before, and I wrote the attached. It lets you limit it to either plain Text or Mtext, or allow Both, and to choose whether to do all such entities in the drawing or let the User select the ones they want to rotate. It offers 180-degree rotation as the default, but you can specify any rotation you want.

--
Kent Cooper


Fatrobo wrote...
....I need to find a lisp that will rotate text 180 degrees about the insertion pioint (assuming I set the justification to MC) so the text doesn't move but rotates 180 degrees.
....
Kent Cooper
Contributor
Fatrobo
Posts: 23
Registered: ‎07-03-2006
Message 3 of 3 (1,082 Views)

Re: Rotating text 180 degrees

01-24-2010 06:43 PM in reply to: Fatrobo
Ah awesome works like a dream! Thanks alot!
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.