Author Topic: viewport properties  (Read 1729 times)

0 Members and 1 Guest are viewing this topic.

jsr

  • Guest
viewport properties
« on: February 01, 2012, 06:43:23 AM »
Hi all,

These days I am working on drawings (from 3rd party) having 20 to 30 title print layouts in each drawing. The layer properties (on/off/freeze) are not set and I have to change them for every viewport before printing. I am doing it manually, which is time taking and error prone. Is their some easy way to set these properties of all viewports in one go. I am using AutoCAD 2010.

Thanks.

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: viewport properties
« Reply #1 on: February 01, 2012, 08:31:56 AM »
Have you looked at the VPLayer command?
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

irneb

  • Water Moccasin
  • Posts: 1794
  • ACad R9-2016, Revit Arch 6-2016
Re: viewport properties
« Reply #2 on: February 01, 2012, 08:39:24 AM »
Exactly: the VPLayer command. Sorry, don't know if it's available in 2010 with overrides as well, in 2008 it only has the freeze/thaw per layer, in 2011 you can change colour, linetype, etc. Notice it asks you to which VP's you need to apply each change - one of the options is ALL.

You need to ensure you're on a PS tab (i.e. TILEMODE=0 ). Then perform the changes through VPLayer's command-line options. This you could easily save into a SCR file (a normal text file containing all the keystrokes you'd have typed in the AutoCAD command line). Then you can run this SCR on multiple DWGs by sending it through ScriptPro/AutoScript/other.

Otherwise some lisp and layer states might also solve your issue.
Common sense - the curse in disguise. Because if you have it, you have to live with those that don't.

Patrick_35

  • Guest
Re: viewport properties
« Reply #3 on: February 02, 2012, 09:09:17 AM »
Hi

Are you trying GEF ?
(it's working in english)

@+

jsr

  • Guest
Re: viewport properties
« Reply #4 on: February 05, 2012, 11:01:23 PM »
Thanks everybody for giving valuable suggestions.