psltcale

Discussion in 'AutoCAD' started by mark, Oct 22, 2004.

  1. mark

    mark Guest

    hi

    it seems the psltscale system variable
    saves the setting (0 or 1) in each layout
    tab and not in the drawing, as the help
    file indicates, is there a way to set it
    to 0, globally to all layouts, i cannot
    seem to find it anywhere...

    ; IAcadLayout: The plot settings and visual properties of a model space or
    paper space block
    ; Property values:
    ; Application (RO) = #<VLA-OBJECT IAcadApplication 00b9b5e4>
    ; Block (RO) = #<VLA-OBJECT IAcadBlock2 0ed76664>
    ; CanonicalMediaName = "Letter_(8.50_x_11.00_Inches)"
    ; CenterPlot = 0
    ; ConfigName = "None"
    ; Document (RO) = #<VLA-OBJECT IAcadDocument 0ed687e0>
    ; Handle (RO) = "5E"
    ; HasExtensionDictionary (RO) = -1
    ; ModelType (RO) = 0
    ; Name = "Layout2"
    ; ObjectID (RO) = 2115771760
    ; ObjectName (RO) = "AcDbLayout"
    ; OwnerID (RO) = 2115771600
    ; PaperUnits = 0
    ; PlotHidden = 0
    ; PlotOrigin = (0.0 0.0)
    ; PlotRotation = 1
    ; PlotType = 5
    ; PlotViewportBorders = 0
    ; PlotViewportsFirst = -1
    ; PlotWithLineweights = -1
    ; PlotWithPlotStyles = -1
    ; ScaleLineweights = 0
    ; ShowPlotStyles = 0
    ; StandardScale = 16
    ; StyleSheet = ""
    ; TabOrder = 2
    ; UseStandardScale = -1
    ; ViewToPlot = ""
     
    mark, Oct 22, 2004
    #1
  2. I don't think so. I recall looking into this once
    and setting each layout current and changing the
    variable was the best I could do. Not sure if
    anything has changed since then.
     
    Jason Piercey, Oct 22, 2004
    #2
  3. mark

    Dan Allen Guest

    you could create a reactor that changes the variable whenever the layout
    changes
     
    Dan Allen, Oct 23, 2004
    #3
  4. mark

    mark Guest

    good point,

    the vlr-layoutswitched reactor does the job but...
    when the user creates a "new layout" it will come
    in as psltscale 1, i do not know where else to add
    a reactor, will the layout command do, will that take care
    of the right click interface of the layout tab too??

    for now i have added a reactor at the plot command,
    which ensures the setting, but somewhat confusing...

    TIA
     
    mark, Oct 25, 2004
    #4
  5. mark

    Dan Allen Guest

    (knowing just enough about reactors to be dangerous)
    could you create a reactor to detect creation of viewports (triggered by
    "new layout") which checks/sets psltscale?
     
    Dan Allen, Oct 25, 2004
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
There are no similar threads yet.
Loading...