Announcements

Community notifications may experience intermittent interruptions between 10–12 November during scheduled maintenance. We appreciate your patience.

Automatically Load Styles from a .dwt template when opening older drawings

Automatically Load Styles from a .dwt template when opening older drawings

tylerKRT77
Observer Observer
806 Views
3 Replies
Message 1 of 4

Automatically Load Styles from a .dwt template when opening older drawings

tylerKRT77
Observer
Observer

I am looking for a way to Automatically Load Styles from a .dwt template when opening older drawings. I have certain settings in my .lsp file set so they are activated whenever I open Civil3d (such as OSNAPZ set to 1) and I was hoping for a way to do this for loading drawing styles. 

If I use the tool "IMPORTSTYLESANDSETTINGS" then I am able to achieve this goal but I would like for it to automatically do this to all of our older drawings as well. Any input is welcome!

 

Thanks,

Tyler 

0 Likes
807 Views
3 Replies
Replies (3)
Message 2 of 4

wfberry
Mentor
Mentor

I do believe you need to revise your thinking.  Lisp files are not stored in .dwt but can be loaded within a startup lisp ahead of opening a dwg.

For instance there is acad.lsp or acaddoc.lsp.  Check these out to suit your needs.

 

Bill

 

0 Likes
Message 3 of 4

AllenJessup
Mentor
Mentor

I would suggest inserting the old file into a new blank drawing from your template. This tends to work better than opening the old drawing directly.

Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 4 of 4

Anonymous
Not applicable

If you are using 2017 or later, the Style Reference does just what you are asking.

 

 

0 Likes