JointOrigins.add Method

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

Description

Create a new joint origin.

Syntax

"jointOrigins_var" is a variable referencing a JointOrigins object.
returnValue = jointOrigins_var.add(input)
"jointOrigins_var" is a variable referencing a JointOrigins object.

#include <Fusion/Components/JointOrigins.h>

returnValue = jointOrigins_var->add(input);

Return Value

Type Description
JointOrigin Returns a JointOrigin object if successfully created and null if it fails.

Parameters

Name Type Description
input JointOriginInput A JointOriginInput object that full defines all of the information needed to create a joint origin. You create a JointOriginInput by using the createInput method of the JointOrigins object.

Samples

Name Description
Joint Origin Between Two Faces Sample Demonstrates creating a new Joint Origin between two planes.
Joint Origin Sample Demonstrates creating a new Joint Origin.

Version

Introduced in version September 2015