Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-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
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

Never mind, I found it - the S::STARTUP function.

Thanks,
Tim Luxon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor