AnsweredAssumed Answered

How do I know if it's a Cylinder or a Rectangular Prism

Question asked by Yasin Coskuner on Mar 25, 2021

I have an object that can be a Cylinder or a rectangular prism. If it is a rectangular prism, I can find all the dimensions with a macro. I am using the "iBody :: GetBodyBox" method. Then I add 5 millimeters to these dimensions and create a stock measure.
But if I use this method when there is a cylinder, the cylinder turns into a prism.
How can I tell if it's a cylinder or a prism?

Outcomes