BRepCell.isSelected Property

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

Description

Gets and sets whether the cell is selected. For a Trim feature a selected cell is removed, whereas for a boundary fill feature, a selected cell is kept and used in the feature operation.

Syntax

"bRepCell_var" is a variable referencing a BRepCell object.
# Get the value of the property.
propertyValue = bRepCell_var.isSelected

# Set the value of the property.
bRepCell_var.isSelected = propertyValue
"bRepCell_var" Is a variable referencing a BRepCell Object.
#include <Fusion/Features/BRepCell.h>

// Get the value of the property.
boolean propertyValue = bRepCell_var->isSelected();

// Set the value of the property, where value_var is a boolean.
bool returnValue = bRepCell_var->isSelected(value_var);
"bRepCell_var" Is a variable referencing a BRepCell Object.
// Get the value of the property.
propertyValue = bRepCell_var.isSelected;

// Set the value of the property.
bRepCell_var.isSelected = propertyValue;

Property Value

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

Samples

Name Description
Boundary Fill Feature API Sample

Demonstrates creating a new boundary fill feature.

Before running: Run in the DESIGN workspace from Scripts and Add-Ins (Python, C++, or TypeScript), unless the script states otherwise.

Trim Feature API Sample

Demonstrates creating a new trim feature.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Version

Introduced in version June 2015