Author Topic: User defined UCS - multiple drawings  (Read 382 times)

0 Members and 1 Guest are viewing this topic.

DanB

  • Bull Frog
  • Posts: 350
User defined UCS - multiple drawings
« 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?

57gmc

  • Newt
  • Posts: 99
Re: User defined UCS - multiple drawings
« Reply #1 on: December 10, 2019, 10:26:44 AM »
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 to batch process them.

MatGrebe

  • Mosquito
  • Posts: 6
Re: User defined UCS - multiple drawings
« Reply #2 on: December 10, 2019, 11:37:49 AM »

DanB

  • Bull Frog
  • Posts: 350
Re: User defined UCS - multiple drawings
« Reply #3 on: December 10, 2019, 01:16:42 PM »
Thank you Mathias, looking into the code provided in that link.

ronjonp

  • Needs a day job
  • Posts: 7111
Re: User defined UCS - multiple drawings
« Reply #4 on: December 10, 2019, 01:31:28 PM »

Windows 10 x64 - AutoCAD /C3D 2020

Custom Build PC

DanB

  • Bull Frog
  • Posts: 350
Re: User defined UCS - multiple drawings
« Reply #5 on: December 10, 2019, 03:38:05 PM »
And thank you, ronjonp, for that as well.