ChainSelection.isOpen Property

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

Description

Property to get or set if an open contour should be closed or not. If true and the input does not specify a closed contour, additional curve segments will be generated to close the contour.

Syntax

"chainSelection_var" is a variable referencing a ChainSelection object.

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

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

// Get the value of the property.
boolean propertyValue = chainSelection_var->isOpen();

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

Property Value

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

Version

Introduced in version April 2023