API Help
Eplan.EplApi.DataModel.MasterData Namespace / WindowMacro Class / GetBoundingBox3D Method

In This Topic
    GetBoundingBox3D Method
    In This Topic
    Returns the least bounding box containing all 3d elements of macro in current variant.
    Syntax
    public Rect3D GetBoundingBox3D()
    public:
    Rect3D GetBoundingBox3D(); 

    Return Value

    The least bounding box containing all 3d elements of macro in current variant.
    Exceptions
    ExceptionDescription
    Thrown when the macro was not opened before or could not opened successfully.
    Remarks

    Position of bounding box is relative to coordinate system of macro.

    If the WindowMacro doesn't contain any 3d object in current variant then bounding box has dimensions 0.

    See Also