Click or drag to resize

LayerSetPerViewportPlotWeight Method

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

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


Type: SystemGuid
If not Guid.Empty, then the setting applies only to the viewport with the specified id.
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.27
See Also