Retrieve plotscale of a layout

Discussion in 'AutoCAD' started by simon.weel, Jul 9, 2003.

  1. simon.weel

    simon.weel Guest

    Hello,

    Is there a way to retrieve the plotscale (defined with Pagesetup) of a layout?

    Greetings,

    Simon Weel
     
    simon.weel, Jul 9, 2003
    #1
  2. Yes, there is:


    (defun GetLayoutPlotScale (/ Numer Denom)
    (vl-Load-Com)
    (vla-GetCustomScale
    (vla-Get-ActiveLayout (vla-Get-ActiveDocument (vlax-Get-Acad-Object)))
    'Numer
    'Denom)
    (/ Numer Denom))


    --
    R. Robert Bell, MCSE
    www.AcadX.com


    | Hello,
    | Is there a way to retrieve the plotscale (defined with Pagesetup) of a
    layout?
    |
    | Greetings,
    |
    | Simon Weel
    |
     
    R. Robert Bell, Jul 9, 2003
    #2
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.