Need some ideea from a "guru" in LISP

Discussion in 'AutoCAD' started by lucian.crisan, Nov 3, 2004.

  1. Hello everybody,

    a have to put down a question.
    I want to write a lisp application to insert a block which will be automatically scaled when is inserted in a viewport created with amscarea (AutoCAD Mechanical 2002). For this job i need to know the scale for viewport area. I found a command (amscmonitor) which provide those data. But i don't know how can I grab this data into a program variable!

    There is a possibility to find what scale was set when the mouse picking inside viewport?

    Thanks in advance,
    Lucian Crisan :eek:)
     
    lucian.crisan, Nov 3, 2004
    #1
  2. While in floating modelspace...

    (caddr (trans '(0 0 1) 3 2))

    --
    Autodesk Discussion Group Facilitator



    automatically scaled when is inserted in a viewport created with amscarea
    (AutoCAD Mechanical 2002). For this job i need to know the scale for
    viewport area. I found a command (amscmonitor) which provide those data. But
    i don't know how can I grab this data into a program variable!
     
    Jason Piercey, Nov 3, 2004
    #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.