Get MEP System volume

Get MEP System volume

Anonymous
Not applicable
405 Views
1 Reply
Message 1 of 2

Get MEP System volume

Anonymous
Not applicable

Hello everyone,

 

I'm very sorry if someone else posted something very similar to this post, however I was not able to find it.

 

I'm trying to develop a code that 1) detects if an Element is part of a MEP system and then 2) the volume of that element.

 

For the first part should it be something like; if (element is MEPSystem) {...} ? I've tried this approach but unsuccessfully. I want it to consider elements like pipes, ducts, accessories, etc.

 

Then, for the volume is even more difficult. Should I use BuiltInParameters or is there a method that retrieves the surface of solids? I've used a code similar to this one in order to obtain the volume of the element, but it doesn't work on mep. If it is only possible by using BuiltInParameters, which ones are the indicated? I've tried some but all crashed the code (probably are null).

 

Thank you very much!

 

Cheers

Ruben

 

 

0 Likes
406 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

So, is there no way to obtain such quantities?

 

Thank you.

0 Likes