ChainSelection.endExtensionLength Property

Parent Object: ChainSelection
Defined in namespace "adsk::cam" and the header file is <Cam/GeometrySelections/ChainSelection.h>

Description

Property that gets and sets the length of the extension of an open curve at the end of the chain. The value is specified in centimeters. This is only applicable to open contours and when DistanceCap is chosen as the extension cap.

Syntax

"chainSelection_var" is a variable referencing a ChainSelection object.

# Get the value of the property.
propertyValue = chainSelection_var.endExtensionLength

# Set the value of the property.
chainSelection_var.endExtensionLength = propertyValue
"chainSelection_var" is a variable referencing a ChainSelection object.
#include <Cam/GeometrySelections/ChainSelection.h>

// Get the value of the property.
double propertyValue = chainSelection_var->endExtensionLength();

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

Property Value

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

Version

Introduced in version April 2023