Method CreateCylindricalJoint
CreateCylindricalJoint(DocumentId, ElementId, ElementId, SmartAxis3D, SmartReal, SmartReal, SmartReal)
Creates a cylindrical joint.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 8, 0, 0)]
ElementId CreateCylindricalJoint(DocumentId inDocumentId, ElementId inFirstRigidGroupId, ElementId inSecondRigidGroupId, SmartAxis3D inAxis, SmartReal inInitialDistance, SmartReal inMinimumDistance, SmartReal inMaximumDistance)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| ElementId | inFirstRigidGroupId | Identifier of first rigid group. |
| ElementId | inSecondRigidGroupId | Identifier of second rigid group. |
| SmartAxis3D | inAxis | Rotation and translation axis. |
| SmartReal | inInitialDistance | Initial distance. |
| SmartReal | inMinimumDistance | Minimum distance, or null if no limits. |
| SmartReal | inMaximumDistance | Maximum distance, or null if no limits. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created joint entity. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.8.