Layer settings saved in a Rhino worksession (.rws) file.
Constructors
public WorksessionFileLayerValues()
Creates layer settings with the defaults: visible, unlocked and black.
public WorksessionFileLayerValues(WorksessionFileLayerValues other)
Creates a copy of other layer settings.
Parameters:
| other (WorksessionFileLayerValues) | The settings to copy. |
Exceptions:
| ArgumentNullException | If other is null. |
Finalizer
Properties
Methods
Gets a copy of the rest of the layer's settings, saved by Rhino 9 and later. Reading an older file leaves this set to a default layer.
Remarks: Rhino uses the print color and width, model visibility, visibility in new details, whether the layer is expanded, and the per-viewport settings. It does not use the layer's id, and a layer saved without one gets a new id when it is read.
Returns: A new layer. Changes to it are kept only after SetLayer(Layer).
Replaces the layer settings with a copy of layer.
Parameters:
| layer (Layer) | The layer to copy. |
Exceptions:
| ArgumentNullException | If layer is null. |