Author Topic: Global Page Setups  (Read 2469 times)

0 Members and 1 Guest are viewing this topic.

Dommy2Hotty

  • Swamp Rat
  • Posts: 1127
Global Page Setups
« on: May 04, 2004, 04:06:24 PM »
Is it possible to have a set of standard page setups for plotting defined in AutoCAD itself?  I understand I can import from another drawing, or start with a template, but a lot of our work is changes to an existing plan.  It just gets time consuming to import them.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Global Page Setups
« Reply #1 on: May 04, 2004, 04:58:21 PM »
Drawing Name "PageSetups.dwg" with all your required set ups.

Button
Code: [Select]
^C^C.-PSETUPIN "PageSetups.dwg" "*"

How hard is that?

CAB
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

Dommy2Hotty

  • Swamp Rat
  • Posts: 1127
Global Page Setups
« Reply #2 on: May 04, 2004, 05:28:24 PM »
Not hard at all!! didn't know about that command...spank you very much....you never fail to help me out...


EDIT: Okay, one more thing...is there a command to clear all page setups first, so that it will add the ones from the PageSetups.dwg and have those as the only ones in the drawing?

ronjonp

  • Needs a day job
  • Posts: 7531
Global Page Setups
« Reply #3 on: May 04, 2004, 05:45:28 PM »
this works for me:

Code: [Select]
;;  Function to delete all user plot set ups
(defun c:Del_Pagesetups (/ curdwg pslayout x)
  (vl-load-com)
  (setq
    curdwg   (vla-get-ActiveDocument (vlax-get-Acad-Object))
    pslayout (vla-get-Layout (vla-get-PaperSpace curdwg))
  ) ;_ end of setq
  ;; Call RefreshPlotDeviceInfo before GetPlotDeviceNames
  (vla-RefreshPlotDeviceInfo pslayout)
  (vlax-for x (vla-get-Plotconfigurations curdwg)
    (vla-delete x)
  ) ;_ end of vlax-for
) ; End Plot_config_list
(c:Del_Pagesetups)



Code: [Select]
^C^CDel_Pagesetups;^C^C.-PSETUPIN;C:/.../PageSetups.dwg;*;^C^C.plot;

Ron
 :D

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

JCTER

  • Guest
Re: Global Page Setups
« Reply #4 on: January 18, 2010, 05:59:13 PM »
Warning: Necro-bump.

I'm looking to populate our standard benefits to include some named page setups.

I wish that I could simply have page setups saved to an external file like .pc3 files.  I don't understand why that is not possible, or already in existence.  Maybe it has been since this thread.  If so I am very open to suggestion.

Concluding question and main point:  Is the above recommendation still the most efficient and/or typically preferred method of implementing saved page setups?

I have everyone creating drawings from the same setup, now, but like Dommy noted, we as well often are working with other's drawings and modifying them, so simply saving the page setups in our template won't tackle -all- situations.

Redefining the 'plot' command in our enterprise CUI to include a macro to import page setups is the last resort, but if it's effective, I don't mind.