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

0 Members and 1 Guest are viewing this topic.

DanB

  • Bull Frog
  • Posts: 367
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

  • Bull Frog
  • Posts: 358
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: 16
Re: User defined UCS - multiple drawings
« Reply #2 on: December 10, 2019, 11:37:49 AM »

DanB

  • Bull Frog
  • Posts: 367
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: 7526
Re: User defined UCS - multiple drawings
« Reply #4 on: December 10, 2019, 01:31:28 PM »

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

DanB

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