Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

AutoCad/Autolisp commands for rotating text and inputting rev notes

AutoCad/Autolisp commands for rotating text and inputting rev notes

AutoCad/Autolisp commands for rotating text and inputting rev notes


I am wondering if there is a way in AutoCad Mechanical to create a command that prompts a user to input a single line of text (can be multiline as well) and after inputting the text, a rotation of text prompt is given. When the user puts in 90, 180, or 270, it will then prompt the user for the location of the text. Also, is it possible to automatically size the text to fit in a certain area? As for the rev notes on a drawing, is there a quick way to add rev notes where a cursor is placed under the prior rev? For example, autolisp for rev notes might be where the user is prompted to add rev notes (i.e. Rev 01 -Updated diameter". When the autolisp command is typed again, the Rev 02 note is automatically placed under the Rev 01 note. So, it would nee to be sized and placed a certain way in the top right hand corner of the drawing so as to look orderly. I've seen rev notes where the font size is incorrect and the start of the text isn't consistent from drawing to drawing.

I would appreciate any help with the above issues.

RE: AutoCad/Autolisp commands for rotating text and inputting rev notes

It is possible with AutoLisp to accomplish any of those tasks. But it would be overkill, as most of those can be accomplished by good CAD practices. The Lisp routines won't prevent poor CAD practices from sabotaging the intent.
For example, many firms use titleblock templates, and revisions are handled a block attributes, to ensure correct text size, placement, etc.
The request for text input is vey similar to the MTEXT command, except you'd like the prompts in a different order, with text input on the command line, and to see the rotated text before placement?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close