raj banerjee Posted August 7, 2007 Posted August 7, 2007 does anyone know how i can open an existin drawing from a button or pull down? I need the script Quote
G-Prime Posted August 7, 2007 Posted August 7, 2007 Well you can get a menu that will open a drawing by pressing "Ctrl-O" if you have it set as default value for it. "Ctrl-N" gives you a new drawing Quote
lpseifert Posted August 7, 2007 Posted August 7, 2007 Maybe this will help you: http://forums.cadalyst.com/showthread.php?t=5392 Quote
designerstuart Posted October 13, 2011 Posted October 13, 2011 i too am looking to do this..... the above link is helpful but the solution is a lisp code. rkmcswain says Try this: (vlax-invoke-method (vla-open (vla-get-Documents (vlax-get-acad-object) ) "C:\\BBBB.DWG" ) "Activate" ) is it possible to put this in a macro, or attach this code to a button? thanks all Quote
designerstuart Posted October 13, 2011 Posted October 13, 2011 or how would i add a definition to the beginning of this so i can run it from a command? i've not seen a lsp like this before that runs automatically - i would expect to load it first, then use a command to run it? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.