Click or drag to resize

ObjectTableAddLinearDimension Method (LinearDimension, ObjectAttributes)

Adds a linear dimension object to the document.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Guid AddLinearDimension(
	LinearDimension dimension,
	ObjectAttributes attributes
)

Parameters

dimension
Type: Rhino.GeometryLinearDimension
Dimension object to add.
attributes
Type: Rhino.DocObjectsObjectAttributes

[Missing <param name="attributes"/> documentation for "M:Rhino.DocObjects.Tables.ObjectTable.AddLinearDimension(Rhino.Geometry.LinearDimension,Rhino.DocObjects.ObjectAttributes)"]

Return Value

Type: Guid
The Guid of the newly added object or Guid.Empty on failure.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also