JointOrigins.createInput Method
Parent Object:
JointOriginsDefined 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
JointOriginInput |
Returns a JointOriginInput object if successfully created and null if it fails. |
Parameters
geometry |
JointGeometry |
A JointGeometry object that defines the geometry the joint origin will be created on. |
Samples
Version
Introduced in version September 2015