class RigidBodyConstraint:
    """The RigidBodyConstraint object.

    Attributes
    ----------
    name: str
        A String specifying the rigidbody constraint name. This attribute is read-only.

    Notes
    -----
    This object can be accessed by:

    .. code-block:: python

        import visualization
        session.odbData[name].rigidbodies[i]
    """

    # A String specifying the rigidbody constraint name. This attribute is read-only.
    name: str = ""

    def constraintData(self):
        """This method returns constraint data if any are associated with the object.

        Returns
        -------
        str
            A String Value: NONE in the absence of constraint data.
        """
        pass
