(self)
return namescope_parent.mjcf_model if namescope_parent else None
The RootElement of the MJCF model to which this one is attached.
The RootElement of the MJCF model to which this one is attached.
The RootElement of the MJCF model to which this one is attached .
def parent_model(self):
    """The RootElement of the MJCF model to which this one is attached."""
    namescope_parent = self._namescope.parent
    return namescope_parent.mjcf_model if namescope_parent else None
def parent_model ( self ) : namescope_parent = self . _namescope . parent return namescope_parent . mjcf_model if namescope_parent else None