Put Area Value under Variable Name

Discussion in 'AutoCAD' started by CARTOYOS, Jan 4, 2004.

  1. CARTOYOS

    CARTOYOS Guest

    Please, Some body can help me. I'm a raw in Autolisp and I need to get the area value after "Command" "_Area" "_O" and put it under a variable name in an Autolisp function or similar solution.
    Thanks for all and sorry for my english.
    Carlos from Madrid.
     
    CARTOYOS, Jan 4, 2004
    #1
  2. CARTOYOS

    R.K. McSwain Guest

    (setq var (getvar "Area"))
     
    R.K. McSwain, Jan 4, 2004
    #2
  3. CARTOYOS

    kozmos Guest

    run
    (setq area (getvar "AREA"))
    after running area command
     
    kozmos, Jan 4, 2004
    #3
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.