ExtrudeFeatureInput.creationOccurrence Property

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

Description

In order for geometry to be transformed correctly, an Occurrence for creation needs to be specified when the Extrusion is created based on geometry (e.g. a profile and/or face(s)) in another component AND (the Extrusion) is not in the root component. The CreationOccurrence is analogous to the active occurrence in the UI

Syntax

"extrudeFeatureInput_var" is a variable referencing an ExtrudeFeatureInput object.

# Get the value of the property.
propertyValue = extrudeFeatureInput_var.creationOccurrence

# Set the value of the property.
extrudeFeatureInput_var.creationOccurrence = propertyValue
"extrudeFeatureInput_var" is a variable referencing an ExtrudeFeatureInput object.
#include <Fusion/Features/ExtrudeFeatureInput.h>

// Get the value of the property.
Ptr<Occurrence> propertyValue = extrudeFeatureInput_var->creationOccurrence();

// Set the value of the property, where value_var is an Occurrence.
bool returnValue = extrudeFeatureInput_var->creationOccurrence(value_var);

Property Value

This is a read/write property whose value is an Occurrence.

Version

Introduced in version August 2014