Accessing the Bounding Box

Plant Simulation provides these read-only attributes to measure the bounding box of the visible graphics of an object:

_3D.BoundingBoxCenter, _3D.BoundingBoxMax, _3D.BoundingBoxMin, and _3D.BoundingBoxSize.

Note:

All data concerning the bounding box relate to the local object coordinate system.

The individual values of the bounding box relate to each other as follows:

_3D.BoundingBoxMin plus _3D.BoundingBoxMax divided by 2 results in the _3D.BoundingBoxCenter.

_3D.BoundingBoxMax minus _3D.BoundingBoxMin results in the _3D.BoundingBoxSize.

_3D.BoundingBoxMax has to be equal to or greater than _3D.BoundingBoxMin.