Click or drag to resize

LinetypeTableLinetypeIndexForObject Method

Returns the effective linetype index to be used to find the linetype definition to draw an object. If an object's linetype source is LinetypeFromObject, the linetype index in the object's attributes is used. If an object's linetype source is LinetypeFromLayer the linetype index from the object's layer is used.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int LinetypeIndexForObject(
	RhinoObject rhinoObject
)

Parameters

rhinoObject
Type: Rhino.DocObjectsRhinoObject
The Rhino object to use in the query.

Return Value

Type: Int32
The effective linetype index.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.0
See Also