Field - area calculation, solid and void

Field - area calculation, solid and void

jeanette
Contributor Contributor
992 Views
6 Replies
Message 1 of 7

Field - area calculation, solid and void

jeanette
Contributor
Contributor

Hi,

 

I'm trying to create a dynamic area calculation (that needs to change on a regular basis) that has two solid areas I'd like to calculate but excluding a void. I'm using "insert field', click the object and so on, but I'm uncertain how to identify the void. I would ideally avoid converting the enclosed area polylines into a block. Anyone able to help?  

0 Likes
Accepted solutions (1)
993 Views
6 Replies
Replies (6)
Message 2 of 7

tramber
Advisor
Advisor

I am a little lost...

What function do you use ?

Do you use MEASURGEOM and its options to cumulate ?

If you need to know an area of 2 separated surfaces, you may use regions ? Do you know them, easy to treat with boolean operations ? You can union and substract, what you seem to reach.


EESignature

Message 3 of 7

leeminardi
Mentor
Mentor

If you are trying to determine the area of a close polyline that has voids within it defined by closed polylines try the AREA command as follows:

area [enter]

A [Enter]

O [Enter]

select the outer polyline [Enter]

S

O

select the polylines that define the voids

You will see a running total of the resulting area.

leeminardi_0-1725976964173.png

 

lee.minardi
Message 4 of 7

AllenJessup
Mentor
Mentor

You could covert the area boundary and the void boundary into Regions. Then Subtract the void area. This means you'll be left with a Region instead of Polylines. But the Region will still be editable. The area inserts as a Field with no problem. I've used this method for years.

Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 5 of 7

paullimapa
Mentor
Mentor
Accepted solution

Assuming you have an outer PLINE and an inner PLINE that represents the VOID:

In the FIELD window under Field names on the left column select the Formula.

Then in the Formula window in the bottom right column right mouse click and on the cursor menu select Insert Field:

paullimapa_0-1725978237171.png

On the 2nd FIELD window that appears on top, go ahead and select the Outer PLINE object and then the AREA property and click OK:

paullimapa_1-1725978324462.png

You'll be returned to the original FIELD window and this time in the Formula box next to the first inserted value enter a (-) minus symbol to represent subtraction:

paullimapa_2-1725978501276.png

This time on the 2nd FIELD window that appears on top select the inner PLINE that represents the VOID and the AREA property and click OK:

paullimapa_4-1725978710606.png

When you're return to the original FIELD window this time click on the Evaluate button and you'll see the Preview showing the subtracted area:paullimapa_5-1725978866088.png

Click OK and you're ready the insert this as a FIELD value. When the outer or inner (void) PLINE changes, the FIELD will update automatically after a REGEN/PLOT/ETransmit commands and etc with FIELDEVAL set to 31.

 

 

 

 

 

 

 

 

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 6 of 7

jeanette
Contributor
Contributor

Thank you so much! I wasn't aware that you could insert formulas within fields. This helps me immensely 🙂 

Message 7 of 7

paullimapa
Mentor
Mentor

Glad to have helped…cheers!!!


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos