AutoCAD Mechanical Forum
Welcome to Autodesk’s AutoCAD Mechanical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Mechanical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

change Mechanical Save as default version programmatically

2 REPLIES 2
Reply
Message 1 of 3
Michael_Zindath
148 Views, 2 Replies

change Mechanical Save as default version programmatically

Hello,

I would like to set the default save version to a specific Version via lisp.

When I try to access this through (getenv "DefaultFormatForSave") I always get 64 for mechanical versions 2018-2025. Only when going lower then that I see a change. So this environment variable seems to only track the Major dwg revisions and not mechancial versions.

 

Where is this information stored and how can I change it?

 

Michael_Zindath_0-1731430268433.png

 

 

2 REPLIES 2
Message 2 of 3
pendean
in reply to: Michael_Zindath

Dumb question if I may: is this a constant need to change on the fly while in DWG file?

In Plain AutoCAD... 64 represents the common DWG format changed between versions 2018-19-20-21-22-23-24-25.
That should change for 2013-14-15-16-17
then again for 201-11-12
and so on.

MECH year-versions are ignored.
Message 3 of 3

Fair question.
I would like to ensure that the mechanical version is set correctly for all my collogues. So that normal open and save operations keep the desired ODA mechanical Version.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report