TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: diego65 on April 10, 2015, 11:59:18 AM
-
Hi people,
Is there a way to Update Datalink on a bunch of drawings (Directory Perhaps) using lisp routine?
The current routine only update individual drawings and users must open every drawing.
(DEFUN C:DU ()
(Command "_DATALINKUPDATE" "_U" "_K")
(prompt "\All Data Link Updated.")
(princ)
)
Any help will be very much appreciate it…
Thank you…
-
http://www.lee-mac.com/scriptwriter.html
Shouldn't need a lisp routine dedicated to that
-
Hi Chris,
Thank you for the reply, however, do you mind telling me how does the scrip line will look for this update
to be executed?
_.open *file* _updatedatalink *file* _U *file* _K _.close
thank you
-
Hi Chris,
Thank you for the reply, however, do you mind telling me how does the scrip line will look for this update
to be executed?
_.open *file* _updatedatalink *file* _U *file* _K _.close
thank you
I would say try this
_.open *file* _updatedatalink _u _k _.save _Y _.close
Open Drawing - Initiate UDL -update -not sure what K does- save - yes overwrite - close
-
I think Lee show how to run a Lisp across multiple drawings, you only need to use Publish, but before running the comand you should add the lisp to run on the startup Suite of the Appload command. This file must contain a qsave command, because Publish doen't save the drawing by it self
My 2 mexican pesos
-
Thank you Chris...
Much appreciate it...
-
Magical little program,
I recommended it, it is life saving procedure...
-
Thanks! :-)
-
Do you guys know if I can used Lee Mac Routine WSCRIPT to turn a layer on and off from and xref?
This is what I have so far:
_.open *file* -layer off *|Layer_Name _.qsave _.close
Thank you...