Layer.SetPerViewportPlotWeight Method

LayerSetPerViewportPlotWeight Method

Sets the plot weight, in millimeters, for this layer.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public void SetPerViewportPlotWeight(
	Guid viewportId,
	double plotWeight
)
Public Sub SetPerViewportPlotWeight ( 
	viewportId As Guid,
	plotWeight As Double
)

Parameters

viewportId
Type: SystemGuid
If not Guid.Empty, then the setting applies only to the viewport with the specified id.
plotWeight
Type: SystemDouble
The plot weight in millimeters. A weight of 0.0 indicates the "default" pen weight should be used. A weight of -1.0 indicates the layer should not be printed.
Version Information

Rhino for Windows

Supported in: 6.8
See Also