Skip to content
Snippets Groups Projects
Commit cac56d83 authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Doc update - naming of entities.

parent 60dbce3a
No related branches found
No related tags found
No related merge requests found
...@@ -91,6 +91,16 @@ The Handle Classes ...@@ -91,6 +91,16 @@ The Handle Classes
:type: :class:`~ost.geom.Vec3` :type: :class:`~ost.geom.Vec3`
.. method:: GetName()
:returns: Name associated to this entity.
:rtype: :class:`str`
.. method:: SetName(name)
:param name: Sets this as new name to be associated to this entity.
:type name: :class:`str`
.. method:: FindChain(chain_name) .. method:: FindChain(chain_name)
Get chain by name. See also :attr:`chains` Get chain by name. See also :attr:`chains`
...@@ -878,6 +888,16 @@ The View Classes ...@@ -878,6 +888,16 @@ The View Classes
:type: :class:`EntityHandle` :type: :class:`EntityHandle`
.. method:: GetName()
:returns: :func:`~EntityHandle.GetName` of entity :attr:`handle`.
:rtype: :class:`str`
.. method:: SetName(name)
:param name: Passed to :func:`~EntityHandle.SetName` of :attr:`handle`.
:type name: :class:`str`
.. method:: CreateEmptyView() .. method:: CreateEmptyView()
See :meth:`EntityHandle.CreateEmptyView` See :meth:`EntityHandle.CreateEmptyView`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment