Joints.createInput Method
Parent Object:
JointsDefined in namespace "adsk::fusion" and the header file is <Fusion/Components/Joints.h>
Description
Creates a JointInput object, which is the API equivalent to the Joint command dialog. You you use methods and properties on the returned class to set the desired options, similar to providing input and setting options in the Joint command dialog. Once the settings are defined you call the Joints.add method passing in the JointInput object to create the actual joint.
Syntax
"joints_var" is a variable referencing a Joints object.returnValue = joints_var.createInput(geometryOrOriginOne, geometryOrOriginTwo)
|
"joints_var" is a variable referencing a Joints object.
#include <Fusion/Components/Joints.h>
returnValue = joints_var->createInput(geometryOrOriginOne, geometryOrOriginTwo);
|
Return Value
JointInput |
Returns the JointInput object or null if the creation failed. |
Parameters
geometryOrOriginOne |
Base |
A JointGeometry or JointOrigin object that defines the first set of geometry of the joint. JointGeometry objects are created by using the various static methods on the JointGeometry class and JointOrigin objects are created through the JointOrigins object. |
geometryOrOriginTwo |
Base |
A JointGeometry or JointOrigin object that defines the second set of geometry of the joint. JointGeometry objects are created by using the various static methods on the JointGeometry class and JointOrigin objects are created through the JointOrigins object. |
Samples
Version
Introduced in version July 2015