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)
Since: 5.0
public int LinetypeIndexForObject(
	RhinoObject rhinoObject


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

Return Value

Type: Int32
The effective linetype index.
See Also