Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Property Set with Cumulative Area

1 REPLY 1
Reply
Message 1 of 2
aszymaszek
395 Views, 1 Reply

Property Set with Cumulative Area

Hello,

 

I have a property set that tells me the area, in acres, of a single hatch. I am wondering if it is possible to have a property set that grabs the cumulative area property, when multiple hatches are selected.

 

What I would like to be able to do is select all hatches within a layer and have it tell me the cumulative area, in acres.

 

My current property set is:

RESULT="--"
Set acadApp = GetObject(, "AutoCAD.Application")
set obj = acadApp.ActiveDocument.ObjectIDToObject( [ObjectID] )
RESULT=obj.area / 43560

I was really hoping that it was as easy as saying

RESULT=obj.CumulativeArea / 43560

But that does not work for me.

 

Any ideas? 

 

Thanks so much!

 

 

 

 

1 REPLY 1
Message 2 of 2
aszymaszek
in reply to: aszymaszek

I am still curious if this is possible - but I did find a work around by creating a schedule table that displays the subtotals for each layer!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report