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)
Syntax
public int Save(
	string name,
	Guid viewportId
)

Parameters

name
Type: SystemString
The name of the layer state. If the named layer state already exists, it will be updated.
viewportId
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.
Version Information

Rhino for Windows

Supported in: 6.27
See Also