MASSPROP Output

MASSPROP Output

Anonymous
Not applicable
1,535 Views
2 Replies
Message 1 of 3

MASSPROP Output

Anonymous
Not applicable

When the AREA command is used on an object the output is saved to a variable which can be viewed via the SETVAR command or (getvar "AREA") or (getvar "PERIMETER").

 

I use the MASSPROP command extensively and have to dissect the output text file in order to find the bounding box points as well as the centroid.

 

Is there a hidden variable or SETVAR used to store these immediately after the MASPROP command?

 

I have a Lisp routine I use to read these text file values but it would be so much easier if I could use GETVAR.

0 Likes
Accepted solutions (1)
1,536 Views
2 Replies
Replies (2)
Message 2 of 3

devitg
Advisor
Advisor
Accepted solution

You could use  getboundingbox  and get centroid by VLX 

0 Likes
Message 3 of 3

Anonymous
Not applicable

thank you this worked perfectly

0 Likes