TheSwamp
CAD Forums => CAD General => Topic started by: DanB on December 10, 2019, 09:54:20 AM
-
Is it possible to copy a user defined UCS from one drawing to another? The drawings are already created, so setting the UCS and saving as a new drawing is not an option. I'm also aware there's a method to copy viewports and save that UCS. However, I simply want to copy one drawing's model space user defined UCS to another (actually multiple) drawing(s).
*if needed, this topic can be moved to LISP forums?
-
It doesn't really need to be copied, just created with the same criteria. If you don't know lisp, you can create a script by typing into Notepad, the text that you would enter into the command line. Just save the file with an *.scr extension. Then go to the new dwg and type SCRIPT and specify your scr file. If you have a large amount of files to change, you can use ScriptPro (https://github.com/ADN-DevTech/ScriptPro-installer#start-of-content) to batch process them.
-
Have a look at this:
https://forums.autodesk.com/t5/autocad-forum/import-named-ucs/td-p/9736
Mathias
-
Thank you Mathias, looking into the code provided in that link.
-
There is also this: http://www.lee-mac.com/steal.html
-
And thank you, ronjonp, for that as well.