RibFeatureInput.creationOccurrence Property

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

Description

In order for geometry to be transformed correctly, an Occurrence for creation needs to be specified when the rib feature is created based on geometry (e.g. sketch curves) in another component AND (the rib feature) is not in the root component. The creationOccurrence is analogous to the active occurrence in the UI

Syntax

"ribFeatureInput_var" is a variable referencing a RibFeatureInput object.
# Get the value of the property.
propertyValue = ribFeatureInput_var.creationOccurrence

# Set the value of the property.
ribFeatureInput_var.creationOccurrence = propertyValue
"ribFeatureInput_var" Is a variable referencing a RibFeatureInput Object.
#include <Fusion/Features/RibFeatureInput.h>

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

// Set the value of the property, where value_var is an Occurrence.
bool returnValue = ribFeatureInput_var->creationOccurrence(value_var);
"ribFeatureInput_var" Is a variable referencing a RibFeatureInput Object.
// Get the value of the property.
propertyValue = ribFeatureInput_var.creationOccurrence;

// Set the value of the property.
ribFeatureInput_var.creationOccurrence = propertyValue;

Property Value

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

Version

Introduced in version October 2026