I have a 3D microstation file in V8i with basic components like cone, torus etc. In the properties we can view the Radius1, center1 and other such. Is there any mVBA that runs and can extract these properties. I can send a sample file if needed. Could some help.
Thanks,
Ramesh.P.K.
Hi Ramesh,
RAMESH P K said:which I managed to get by using the property handler.
which means (but it's my personal opinion) that your code is wrong and dirty. Property handlers are "last chance tool" with a lot of limitations and they are also awfully slow.
When there is element class available (they exist for elements like cone and torus), always use the class to access element properties, not the handlers.
RAMESH P K said:But in the same file some elements are cell object and within the cell are solid object
Follow rules and best practices! It's another issue, so post a new question (and not here, but in MicroStation Programming forum).
But before it, study MicroStation VBA help, examples in the help and also mvba files delivered with MicroStation, plus search MicroStation Programming forum how to iterate cell content.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point