NamedPositionTable
ReferencesAll named positions in a rhino document.
Properties
Array of Named Position Guids.
Returns: Guid array of each Named Position in the document.
Methods
Append objects to a Named Position.
Parameters:
| id (Guid) | Guid of the Named Position which you want to append to. |
| objectIds (IEnumerable<Guid>) | New object ids to be included in this Named Position. |
Returns: True or False depending on whether the Append was successful.
Append objects to a Named Position.
Parameters:
| id (Guid) | Guid of the Named Position which you want to append to. |
| objects (IEnumerable<RhinoObject>) | Collection of Rhino Objects to be included in this Named Position. |
Returns: True or False depending on whether the Append was successful.
Append objects to a Named Position.
Parameters:
| name (string) | Name of the Named Position which you want to append to. |
| objectIds (IEnumerable<Guid>) | New object Guids to be included in this Named Position. |
Returns: True or False depending on whether the Append was successful.
Append objects to a Named Position.
Parameters:
| name (string) | Name of the Named Position which you want to append to. |
| objects (IEnumerable<RhinoObject>) | Collection of Rhino Objects to be included in this Named Position. |
Returns: True or False depending on whether the Append was successful.
Delete a Named Position.
Parameters:
| id (Guid) | Guid of the Named Position which you want to delete. |
Returns: True or False depending on whether the Delete was successful, Null in case the id does not exist as a Named Position.
Delete a Named Position.
Parameters:
| name (string) | Name of the Named Position which you want to delete. |
Returns: True or False depending on whether the Delete was successful, Null in case the id does not exist as a Named Position.
Guid of a Named Position.
Parameters:
| name (string) | Name of the Named Position for which you want to retrieve the Guid. |
Returns: The Guid of the Named Position. If not found, an empty Guid is returned.
Name of a Named Position.
Parameters:
| id (Guid) | Guid of the Named Position for which you want to retrieve the name. |
Returns: The name of the Named Position as a string.
Array of Rhino Object Guids related to a Named Position.
Parameters:
| id (Guid) | The Guid of the named position from which you want to retrieve the objects. |
Returns: Array of Guid which pertain to the objects tracked by the Named Position.
Array of Rhino Object Guids related to a Named Position.
Parameters:
| name (string) | The name of the Named Position from which you want to retrieve the objects. |
Returns: Array of Guid which pertain to the objects tracked by the Named Position, or null in case no such Named Position is found.
Array of Rhino Objects related to a Named Position.
Parameters:
| id (Guid) | The Guid of the named position from which you want to retrieve the objects. |
Returns: Array of Rhino Objects which are tracked by the Named Position.
Array of Rhino Objects related to a Named Position.
Parameters:
| name (string) | The name of the Named Position from which you want to retrieve the objects. |
Returns: Array of Rhino Objects which are tracked by the Named Position if successful, null if no such Named Position exists.
Retrieve the Transform of a Rhino Object relate to a Named Position.
Retrieve the Transform of a Rhino Object relate to a Named Position.
Parameters:
| id (Guid) | The Guid of the Named Position |
| obj (RhinoObject) | The Rhino Object from which to retrieve the Transform. |
| xform (ref Transform) | The Transform to retrieve. |
Returns: Transform of the RhinoObject related to the Named Position.
Rename a Named Position.
Parameters:
| id (Guid) | Guid of the Named Position which you want to rename. |
| name (string) | New name for the Named Position. |
Returns: True or False depending on whether the Rename was successful. For example, this method might return False if you attempt to rename the Named Position with the currently assigned name.
Rename a Named Position.
Parameters:
| oldName (string) | Current name of the Named Position which you want to rename. |
| name (string) | New name for the Named Position. |
Returns: True or False depending on whether the Rename was successful. For example, this method might return False if you attempt to rename the Named Position with the currently assigned name.
Restore a Named Position.
Parameters:
| id (Guid) | Guid of the Named Position to restore. |
Returns: True or False based on whether the Named Position was able to be restored.
Restore a Named Position.
Parameters:
| name (string) | Name of the Named Position to restore. |
Returns: True or False based on whether the Named Position was able to be restored.
Save a new Named Position.
Parameters:
| name (string) | Name for this Named Position. |
| objectIds (IEnumerable<Guid>) | Array of Rhino Object Ids which should be included in this Named Position. |
Returns: Guid of the newly saved Named Position.
Save a new Named Position.
Parameters:
| name (string) | Name for this Named Position. |
| objects (IEnumerable<RhinoObject>) | Array of Rhino Objects which should be included in this Named Position. |
Returns: Guid of the newly saved Named Position.
Updates a Named Position, effectively storing the current positions of the objects which the Named Position is tracking.
Parameters:
| id (Guid) | Guid of the Named Position which you want to update. |
Returns: True or False depending on whether the Update was successful.
Updates a Named Position, effectively storing the current positions of the objects which the Named Position is tracking.
Parameters:
| name (string) | Name of the Named Position which you want to update. |
Returns: True or False depending on whether the Update was successful.