JointOrigins.createInput Method

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

Description

Creates a JointOriginInput object which is used to collect all of the information needed to create a simple joint origin. The creation of the input object takes the required input as the geometry argument and you can optionally use methods and properties on the created JointOriginInput to set other optional settings. The JointOrigin is created by calling the add method of the JointOrigins object and passing it the JointOriginInput object.

Syntax

"jointOrigins_var" is a variable referencing a JointOrigins object.
returnValue = jointOrigins_var.createInput(geometry)
"jointOrigins_var" is a variable referencing a JointOrigins object.

#include <Fusion/Components/JointOrigins.h>

returnValue = jointOrigins_var->createInput(geometry);

Return Value

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

Parameters

Name Type Description
geometry JointGeometry A JointGeometry object that defines the geometry the joint origin will be created on.

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