Skip to main content

## LayerP

Restores layer properties to their previous values

| Command: LayerP

If LayerPMode is ON, all changes to layer properties are tracked, and can be undone by LayerP command; using LayerP shows a status message :

Restored previous layer status.

If no further layer status is available (allo undone), a message is shown :

No previous layer status

If LayerPMode is OFF, no changes are tracked, and a message is displayed :

No previous layer status *

LayerPMode not active - use LAYERPMODE command to activate

These layer properties are tracked and restored by LayerP command :

- on / off status
- frozen status
- locked / unlocked status
- color
- linetype
- lineweight
- plottable
- material
- plotstyle
- transparency

Remarks :

the following layer operations are not undone by LayerP command :

- adding a layer
- deleting / purging a layer
- renaming a layer

If LayerPMode is set ON when BricsCAD is closed, LayerPMode is automatically enabled at next BricsCAD start (remains persistent); therefore, BcadTools are automatically loaded at startup to ensure layer tracking with session start.

####