Search Results for

    Show / Hide Table of Contents

    Method CreateRevoluteJoint

    CreateRevoluteJoint(DocumentId, ElementId, ElementId, SmartAxis3D, SmartPoint3D, bool, SmartReal, SmartReal, SmartReal)

    Creates a revolute joint.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 8, 0, 0)]
    ElementId CreateRevoluteJoint(DocumentId inDocumentId, ElementId inFirstRigidGroupId, ElementId inSecondRigidGroupId, SmartAxis3D inRotationAxis, SmartPoint3D inCenterPoint, bool inIsMultiTurns, SmartReal inInitialAngle, SmartReal inMinimumAngle, SmartReal inMaximumAngle)
    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 inRotationAxis

    Rotation axis.

    SmartPoint3D inCenterPoint

    Center point, or null if none.

    bool inIsMultiTurns

    Whether the joint angle is multi-turns.

    SmartReal inInitialAngle

    Initial angle.

    SmartReal inMinimumAngle

    Minimum angle, or null if no limits.

    SmartReal inMaximumAngle

    Maximum angle, 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.

    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.