RuledSurfaceFeatureInput.creationOccurrence Property

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

Description

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

Syntax

"ruledSurfaceFeatureInput_var" is a variable referencing a RuledSurfaceFeatureInput object.

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

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

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

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

Property Value

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

Version

Introduced in version September 2020