Hi all,
I want to retrieve bounding box dimension of a model. I use IpfcSolid.Evaloutline(), but the return value dosent reflect the actual size. I have attached the image of results for 600X325X10 outline calculation. Kindly throw some light why there is a deviation. This is not the same when I use IpfcSolid.Geomoutline().
Solved! Go to Solution.
According to the vbapi documentation regarding EvalOutline, only coordinate systems, axes and points can be excluded.
Hi,
I guess no user knows how IpfcSolid.Evaloutline() works. I think it returns expected values when your model is simple brick. When your model has complex shape then it returns unexpected values.
Martin,
Thanks for the reply. I could resolve the issue.
Thanks again
EvalOutline and GeomOutline both returns the bounding box extremities of a solid with some notable differences.
GeomOutline is a property of the solid. It always return the coordinates relative to the default coordinate system and it takes in consideration ALL entities (solid and non-solid).
If you have a coordinate system that is far away from the solid model it will affect your result.
EvalOutline give you the possibility to choose the coordinate system to use to report the coordinates. You need to pass the transformation matrix for that.
Also it has the option to filter out some of the non-solid items(coordinate systems, axes and points)
Gabriel ,
Thanks for the reply.
According to the vbapi documentation regarding EvalOutline, only coordinate systems, axes and points can be excluded.