Click or drag to resize

NamedLayerStateTableSave Method (String, Guid)

Saves or updates a named layer state.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.14
public int Save(
	string name,
	Guid viewportId


Type: SystemString
The name of the layer state. If the named layer state already exists, it will be updated.
Type: SystemGuid
The id of the layout or detail viewport, required to save per viewport layer state properties.

Return Value

Type: Int32
The index of the newly added, or updated, layer state.
See Also