UserCoordinateSystemInput.creationOccurrence Property

Parent Object: UserCoordinateSystemInput

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


Defined in namespace "adsk::fusion" and the header file is <Fusion/Construction/UserCoordinateSystemInput.h>

Description

Gets and sets the occurrence this User Coordinate System will be created within. This property is only needed when creating (the UserCoordinateSystem) with geometry (e.g. a sketch point) in another component AND (the UserCoordinateSystem) is not in the root component. The CreationOccurrence is analogous to the active occurrence in the UI

Syntax

"userCoordinateSystemInput_var" is a variable referencing a UserCoordinateSystemInput object.

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

# Set the value of the property.
userCoordinateSystemInput_var.creationOccurrence = propertyValue
"userCoordinateSystemInput_var" Is a variable referencing a UserCoordinateSystemInput Object.
#include <Fusion/Construction/UserCoordinateSystemInput.h>

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

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

Property Value

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

Version

Introduced in version May 2026