OrientedBoundingBox3D.width Property

Parent Object: OrientedBoundingBox3D
Defined in namespace "adsk::core" and the header file is <Core/Geometry/OrientedBoundingBox3D.h>

Description

Gets and sets the width of the oriented bounding box in centimeters.

Syntax

"orientedBoundingBox3D_var" is a variable referencing an OrientedBoundingBox3D object.

# Get the value of the property.
propertyValue = orientedBoundingBox3D_var.width

# Set the value of the property.
orientedBoundingBox3D_var.width = propertyValue
"orientedBoundingBox3D_var" is a variable referencing an OrientedBoundingBox3D object.
#include <Core/Geometry/OrientedBoundingBox3D.h>

// Get the value of the property.
double propertyValue = orientedBoundingBox3D_var->width();

// Set the value of the property, where value_var is a double.
bool returnValue = orientedBoundingBox3D_var->width(value_var);

Property Value

This is a read/write property whose value is a double.

Samples

Name Description
Measure Sample Measure related functions

Version

Introduced in version December 2017