←  Technical Questions

nanoCAD forum

»

Set Layer Line Type and Color within VBS s...

djurk's Photo djurk 05 Sep 2015

Hello,

Is there a VBS code to set the color and linetype off a layer?
I created a layer with:
Dim oLyrVloeren
Set oLyrFloors = ThisDrawing.Layers.Add("Floors")

I want to change the color of the layer into yellow and the line type into dashed is this possible?

Gr Djurk
Quote