×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

area

area

(OP)
Is there a way to use the inqire area and get the results in acres instead of feet sq.

RE: area

The only way I know of is to draw in units of acres instead of feet.  Then use decimal units (ddunits).

Alternately, you can use a lisp function to do the conversion.

RE: area

You could scale a copy of your drawing by 1/(43560)^0.5, or about 1/208.71, and areas reported by AREA or LIST will effectively be in acre units.

RE: area

Try this:

; AAREA.LSP
(DEFUN c:aarea ()
  (SETQ    oc (GETVAR "cmdecho")
    nc (SETVAR "cmdecho" 0)
  )
  (SETQ getobj (ENTSEL "Select object to get area of:"))
  (COMMAND "AREA" "o" getobj)
  (SETQ    sqft  (/ (GETVAR "AREA") 144)
    sqyds (/ sqft 9)
    acres (/ sqft 43560)
  )
  (ALERT
    (STRCAT "\nSquare Feet = "
        (RTOS sqft 2 3)
        "\nSquare Yards = "
        (RTOS sqyds 2 3)
        "\nAcres = "
        (RTOS acres 2 3)
    )
  )
  (SETVAR "cmdecho" oc)
)
(PROMPT "To use, enter aarea at the command line.")
(PRINC)


Flores

RE: area

(OP)
THANKS FLORES

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources