Blue Pencil 2 Documentation
czBluePencilLayer
Command (MEL)
czBluePencilLayer
Synopsis
This command performs BP2 layer operations on a specified camera. The camera name should be the last argument provided.
Return Value
Return type is based on flags
Flags
| Long name (short name) | Arguement types | Properties |
|---|---|---|
| -active (-act) | int | Q E |
| Edit or query the active layer index. | ||
| -count (-cnt) | C | |
| Returns the total number of layers. | ||
| -addLayer (-add) | C | |
| Add a new layer. | ||
| -insert (-ins) | int | C |
| Insert a new layer at the index provided. | ||
| -delete (-del) | int | C |
| Delete the layer at the index provided. | ||
| -deleteAll (-da) | C | |
| Delete all layers. | ||
| -move (-mv) | int int | C |
| Move the layer at the specified index to a new index on the camera. To move to a different camera, include the -newCamera flag. | ||
| -moveAll (-mva) | string | C |
| Move all layers on a camera to a different camera. | ||
| -name (-n) | string | C |
| Optional flag when adding or inserting a layer to set the name of the new layer. | ||
| -newCamera (-nc) | string | C |
| Optional flag for moving a layer to a different camera. | ||
| -editName (-en) | string int | C |
| Edit the name of the layer at the specified index. | ||
| -queryName (-qn) | int | C |
| Query the name of the layer at the specified index. | ||
| -editVis (-ev) | int int | C |
| Edit the visibility of the layer at the specified index. | ||
| -queryVis (-qv) | int | C |
| Query the visibility of the layer at the specified index. | ||
| -editState (-es) | int int | C |
| Edit the state of the layer at the specified index. | ||
| -queryState (-qs) | int | C |
| Query the state of the layer at the specified index. | ||
| -layerState (-ls) | int | C |
| Optional flag to set the layer state when creating a new layer. |