Owning document whose layer table is observed.
ReadonlyeventsEvents fired when cached layer data changes.
Fired when the cached layer list or current layer name changes.
Removes upstream event listeners and clears the cached layer data.
Returns the current layer name (CLAYER) for this document.
Current layer name, or an empty string when none is set.
Returns a shallow copy of cached layer rows.
Copy of the cached layer snapshots.
Returns the layer service for this document.
Keeps one layer visible and turns all others off (UI quick-isolate).
Layer to keep visible.
true when the layer exists and isolation was applied.
Turns off every layer except the current layer.
true when at least one layer was turned off.
Turns on every layer in this document.
true when at least one layer was turned on.
Makes a layer current (CLAYER), ensuring it is on and thawed.
Layer name to activate.
true when the layer exists and was set current.
Assigns color to a layer in this document.
Target layer name.
Color to assign.
true when the layer exists and color was set.
Updates a layer description in this document.
Target layer name.
New description text.
true when the layer exists and was updated.
Freezes or thaws a layer, switching CLAYER when freezing the current layer.
Target layer name.
Desired frozen state.
true when the layer exists and was updated.
Assigns a linetype name to a layer in this document.
Target layer name.
Linetype table record name.
true when the layer exists and was updated.
Assigns line weight to a layer in this document.
Target layer name.
Line weight to assign.
true when the layer exists and line weight was set.
Locks or unlocks a layer in this document.
Target layer name.
Desired locked state.
true when the layer exists and was updated.
Turns a layer on or off, switching CLAYER when turning off the current layer.
Target layer name.
Desired visibility (true = on).
true when the layer exists and was updated.
Sets whether a layer is included when plotting.
Target layer name.
Desired plottable state.
true when the layer exists and was updated.
Assigns transparency to a layer in this document.
Target layer name.
Transparency value to assign.
true when the layer exists and was updated.
Observes one document's layer table and exposes UI-friendly layer snapshots.
Obtain via AcApDocument.layerStore. Layer mutations delegate to AcApLayerService on the same document.