Properties
Methods
Deletes an existing named layer state.
Returns: True if successful, false otherwise.
Returns the index of an existing named layer state.
Returns: >0 if successful, -1 if not found.
Imports named layer states from a 3dm file.
Returns: The number of named layers states imported.
Renames an existing named layer state.
Returns: True if successful, false otherwise.
Restores a named layer state.
[CLSCompliant(false)]
public bool Restore()
name,
The name of the layer state.
properties,
The layer properties to restore.
viewportId
The id of the layout or detail viewport to restore the per-viewport layer properties.
Restores a named layer state.
[CLSCompliant(false)]
public bool Restore()
name,
The name of the layer state.
properties
The layer properties to restore.
Returns: True if successful, false otherwise.
Saves or updates a named layer state.
Returns: The index of the newly added, or updated, layer state.