Message 1 of 8
Not applicable
01-05-2015
02:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am currently altering our work save config to better suit our workflow but I am struggling to make one change.
The current command is this
(command"_.Undefine""_.QSave") ; Undefine the QSave command ; define a custom Save command that executes Propulate command and then save (defun c:Qsave () (command"_PSPACE""") (command"_.layout""_Set""") ; Move to LAYOUT 1 (command"_.regen") (command"_.Propulate""_Update""_Current") ; run Propulate command (command"_.ZOOM""_E") ; zoom extents before save (command"_.QSave""""")(princ) ; run standard save command )
I want to add lines to it that will check if the current drawing has a viewport in, if it does not then I just want it to run a regular save command without zooming or running propulate. Some of our drawings are just model files and having it run the extra commands are just unneccesary and are causing issues.
Solved! Go to Solution.