General Program Information
Basics - Layers
*layernew - a function that creates a new layer in AutoCAD
layernew(title,color) :=
- one <-- concat("-layer",sp,"m",sp,title)
- two <-- concat("c",sp,"t",sp,pointnonunits(color<0>color<0>))
- three <-- concat(title)
- four <-- concat(sp,sp)
- tot <-- stack(one,two,three,four)
- return tot
...
- one <-- concat("-layer",sp,"s",sp,title)
- two <-- concat(sp,sp)
- tot <-- stack(one,two)
- return tot
layernew1
layernew1 :=
- one <-- concat("-layer",sp,"m",sp,title)
- two <-- concat("c",sp,"c",sp,pointnonunits(color<0>))
- three <-- concat(title)
- four <-- concat(sp,sp)
- tot <-- stack(one,two,three,four)
- return tot
layerfreeze - a function that locks a layer so that no edits can be made
layerfreeze :=
- one <-- concat("-layer",sp,"f",sp,title)
- two <-- concat(sp,sp)
- tot <-- stack(one,two)
- return tot
layerthaw - a function that unlocks a layer so that edits can be made
layerthaw :=
- one <-- concat("-layer",sp,"t",sp,title)
- two <-- concat(sp,sp)
- tot <-- stack(one,two)
- return tot