Click or drag to resize
LinetypeSetSegment Method
Sets the length and type of the segment at index.

Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public bool SetSegment(
	int index,
	double length,
	bool isSolid
)

Parameters

index
Type: SystemInt32
Zero based index of the segment.
length
Type: SystemDouble
The length of the segment to be added in millimeters.
isSolid
Type: SystemBoolean
If true, the length is interpreted as a line. If false, then the length is interpreted as a space.

Return Value

Type: Boolean
true if the operation was successful; otherwise false.
See Also