Hi,
I have the solid elements that get from DgnModel.GetGraphicElements() method and I would like to get volume of those elements.
Could anyone suggest me how to get it?
Thank you,
Teeraya.
Hi Teeraya,
there are several way how to do it. What is the best depends on context and with what element types you work.
In my opinion the most flexible option is to access element properties, when represented as EC data (which is generally what is displayed in Properties dialog), and to read "Volume" property. It was discussed several times already in MicroStation Programming forum, so I recommend to search for "element volume" phrase.
Because you mentioned OpenRoads Designer, maybe to use ORD API can be an alternative, but it depends what elements you work with.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point