NamedViewTable
ReferencesAll named views in a rhino document.
Properties
Indexers
Methods
Adds named view to document which is based on an existing viewport.
Parameters:
| name (string) | If name is empty, a unique name is automatically created. If there is already a named view with the same name, that view is replaced. |
| viewportId (Guid) | Id of an existing viewport in the document. View information is copied from this viewport. |
Returns: 0 based index of named view. -1 on failure.
Remove named view from the document.
Parameters:
| index (int) | index of the named view in the named view table. |
Returns: true if successful.
Remove named view from the document.
Parameters:
| name (string) | name of the view. |
Returns: true if successful.
Finds a named view.
Parameters:
| name (string) | name to search for. |
Returns: >=0 index of the found named view -1 no named view found.
Renames a named view.
Renames a named view.
obsoleteSupport for backgroundBitmap is ended
obsoleteSupport for backgroundBitmap is ended
Parameters:
| index (int) | |
| viewport (RhinoViewport) | |
| backgroundBitmap (bool) |
Sets the MainViewport of a standard RhinoView to a named views settings
Parameters:
| index (int) | |
| viewport (RhinoViewport) |
public bool RestoreAnimated(int index, RhinoView view, bool backgroundBitmap, int frames, int frameRate)
obsoleteSupport for backgroundBitmap is ended
obsoleteSupport for backgroundBitmap is ended
public bool RestoreAnimated(int index, RhinoViewport viewport, bool backgroundBitmap, int frames, int frameRate)
obsoleteSupport for backgroundBitmap is ended
Parameters:
| index (int) | |
| viewport (RhinoViewport) | |
| backgroundBitmap (bool) | |
| frames (int) | |
| frameRate (int) |
obsoleteSupport for backgroundBitmap is ended
Parameters:
| index (int) | |
| viewport (RhinoViewport) | |
| backgroundBitmap (bool) |
public bool RestoreAnimatedConstantSpeed(int index, RhinoViewport viewport, double units_per_frame, int ms_delay)
Parameters:
| index (int) | |
| viewport (RhinoViewport) | |
| units_per_frame (double) | |
| ms_delay (int) |
public bool RestoreAnimatedConstantTime(int index, RhinoViewport viewport, int frames, int ms_delay)
Parameters:
| index (int) | |
| viewport (RhinoViewport) | |
| frames (int) | |
| ms_delay (int) |
Parameters:
| index (int) | |
| viewport (RhinoViewport) |