Click or drag to resize

LayerSetPerViewportPlotWeight Method

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

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public void SetPerViewportPlotWeight(
	Guid viewportId,
	double plotWeight
)

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.
See Also