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.
"joints_var" is a variable referencing a Joints object. |
"joints_var" is a variable referencing a Joints object. |
"joints_var" is a variable referencing a Joints object. |
| Type | Description |
| JointInput | Returns the JointInput object or null if the creation failed. |
| Name | Type | Description |
| 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. |
| Name | Description |
| BallJointMotion API Sample | Demonstrates creating a joint with ball joint motion. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |
| CylindricalJointMotion API Sample | Demonstrates creating a joint with cylindrical joint motion. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |
| Joint API Sample | Demonstrates creating a new joint. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |
| Pin Slot Joint Motion API Sample | Demonstrates creating a joint with pin slot joint motion. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |
| Planar Joint Motion API Sample | Demonstrates creating a joint with planar joint motion. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |
| RevoluteJointMotion API Sample | Demonstrates creating a joint with revolute joint motion. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |
| SliderJointMotion API Sample | Demonstrates creating a joint with slider joint motion. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |