Hey all. Is there a way to run the propulate command when saving a file. I want to keep all information; filename, titleblock and drawing properties all up to date. Can you automate such a thing? Thanks!
You can create a Lisp funcion to Undefine the Save command:
(command"_.Undefine""_.Save")
and then define a custom Save command that includes the following code:
(command"_.Propulate""_Update""_Current")
(command"_.Save""")
Area Object Link | Attribute Modifier | Dwg Setup | Feet-Inch Calculator | Layer Apps | List on Steroids | VP Zoom Scales
Exchange App Store
Aplogies my friend but could you be more specific with the process, I am very new to this and am not sure what you mean. Thank you though!
There are many ways to skin a cat...and this is only one.
Use a text editor program like Notepad and create a lisp file naming it Save.lsp
Enter the following lines of code in the body of this file:
(command"_.Undefine""_.Save") ; Undefine the Save command
; define a custom Save command that executes Propulate command and then save
(defun c:save ()
(command"_.Propulate""_Update""_Current") ; run Propulate command
(command"_.Save""""_Y")(princ) ; run standard save command
)
Then in AutoCAD type Appload,
Under Startup Suite, click Contents
Add the Save.lsp file into the window.
Click Close 2x to dismiss all dialog windows
Now open the drawing you want to run the new Save command and give it a try.
When you type the Save command, it should now run the new Save command you defined which is preceded with the Propulate command.
Area Object Link | Attribute Modifier | Dwg Setup | Feet-Inch Calculator | Layer Apps | List on Steroids | VP Zoom Scales
Exchange App Store