UserCoordinateSystems.add Method

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

Description

Creates and adds a new UserCoordinateSystem using the UserCoordinateSystemInput.

Syntax

"userCoordinateSystems_var" is a variable referencing a UserCoordinateSystems object.
returnValue = userCoordinateSystems_var.add(input)
"userCoordinateSystems_var" is a variable referencing a UserCoordinateSystems object.

#include <Fusion/Construction/UserCoordinateSystems.h>

returnValue = userCoordinateSystems_var->add(input);

Return Value

Type Description
UserCoordinateSystem Returns the newly created user coordinate system or null if the creation failed.

Parameters

Name Type Description
input UserCoordinateSystemInput A UserCoordinateSystemInput object

Samples

Name Description
Create a User Coordinate System Demonstrates the creation of a user coordinate system at the end of a selected sketch curve or edge.

Version

Introduced in version May 2026