ExtrudeFeatureInput.isSolid Property

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

Description

Specifies if the extrusion should be created as a solid or surface. If it's a surface then there aren't any end caps and it's open. When an ExtrudeFeature input is created, this is initialized to true so a solid will be created if it's not changed.

Syntax

"extrudeFeatureInput_var" is a variable referencing an ExtrudeFeatureInput object.
# Get the value of the property.
propertyValue = extrudeFeatureInput_var.isSolid

# Set the value of the property.
extrudeFeatureInput_var.isSolid = propertyValue
"extrudeFeatureInput_var" Is a variable referencing an ExtrudeFeatureInput Object.
#include <Fusion/Features/ExtrudeFeatureInput.h>

// Get the value of the property.
boolean propertyValue = extrudeFeatureInput_var->isSolid();

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

// Set the value of the property.
extrudeFeatureInput_var.isSolid = propertyValue;

Property Value

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

Samples

Name Description
Extrude Feature API Sample

Demonstrates creating a new extrude feature.

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

The script uses the timeline (<code>rollTo</code>) to inspect feature history.

Manage Participant Bodies API Sample

Demonstrates how to manage participant During Cut operation. Same API can be used to manage participants During intersection also.

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

Version

Introduced in version March 2015