Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can .lsp file be autorun AFTER drawing is loaded?

Status
Not open for further replies.

tluxon1

Mechanical
May 16, 2001
8
0
0
US
In one of the routines I call from acad.lsp, I detect the existence of format sheet blocks with particular names so I can set a scale factor and TEXTSIZE depending on which, if any, format sheets are found.

Another thing I want to do is to selectively automatically set the current text style and font file it is using before the drawing is edited. This apparently cannot be done using (command "STYLE" etc) until after the drawing is open, so I'm hoping someone knows of a way of running a lisp file automatically AFTER a drawing has been opened.

Thanks,
Tim Luxon
 
Replies continue below

Recommended for you

Status
Not open for further replies.
Back
Top