CustomGraphicsGroup.boundingBox Property

Parent Object: CustomGraphicsGroup
Defined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsGroup.h>

Description

Returns a box oriented parallel to the world x-y-x axes that contains the graphics entity. Depending on whether the graphics are drawn in model space or screen space this will return the bounding box in either centimeters (model) or pixels (screen). In the case where it returns the bounding box in pixel space, the Z coordinates of the box will be 0 and can be ignored.

Syntax

"customGraphicsGroup_var" is a variable referencing a CustomGraphicsGroup object.

# Get the value of the property.
propertyValue = customGraphicsGroup_var.boundingBox
"customGraphicsGroup_var" is a variable referencing a CustomGraphicsGroup object.
#include <Fusion/Graphics/CustomGraphicsGroup.h>

// Get the value of the property.
Ptr<BoundingBox3D> propertyValue = customGraphicsGroup_var->boundingBox();

Property Value

This is a read only property whose value is a BoundingBox3D.

Version

Introduced in version September 2017