ObjectTableAddLinearDimension Method (LinearDimension, ObjectAttributes) |
Adds a linear dimension object to the document.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public Guid AddLinearDimension(
LinearDimension dimension,
ObjectAttributes attributes
)
Public Function AddLinearDimension (
dimension As LinearDimension,
attributes As ObjectAttributes
) As Guid
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:
GuidThe Guid of the newly added object or Guid.Empty on failure.
See Also