vl-layerstates-setpropertymask


(vl-layerstates-setpropertymask  lstate  bitFlags)

sets the default behaviour flags for specified LayerState 'lstate'

Arguments

lstate  a string or symbol specifying the LayerState

bitFlags  an integer combining the bits which control default behaviour;
-1 specifies "All" (same as 1023); also 65535 (=0xFFFF) can be used

0 None
1 On
2 Frozen
4 Locked
8 Plot
16 NewViewport
32 Color
64 LineType
128 LineWeight
256 PlotStyle
512CurrentViewport

Return

T if successful, NIL otherwise

Example

(vl-layerstates-setpropertymask "MyLayers_1" 6) : sets the LayerState as Frozen + Locked

Remarks

this is a BricsCAD-specific function !



©  Bricsys NV. All rights reserved.