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)
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.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also