Print width of lines of a layer


#1

Hy!!!
is it possible to change print width or line type of a layer with rhinoscript V6?


#2

I guess something like this:

Option Explicit

Call Main()
Sub Main()
	Dim layer, layers, width
	layers = Rhino.GetLayers("Select layers to change print width", False)
	If Not IsArray(layers) Then Exit Sub
	
	width = Rhino.RealBox("Print width for layers?",,, 0)
	If IsNull(width) Then Exit Sub
	
	For Each layer In layers
		Call Rhino.LayerPrintWidth(layer, width)
	Next	
	
End Sub

#3

i didn’t find “Rhino.LayerPrintWidth” command…
Excuse me!
thank’s!
.