File3dmObjectTable.AddLinearDimension Method (LinearDimension, ObjectAttributes)

File3dmObjectTableAddLinearDimension Method (LinearDimension, ObjectAttributes)

Adds a linear dimension to the 3dm file object table.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Guid AddLinearDimension(
	LinearDimension dimension,
	ObjectAttributes attributes
)
Public Function AddLinearDimension ( 
	dimension As LinearDimension,
	attributes As ObjectAttributes
) As Guid

Parameters

dimension
Type: Rhino.GeometryLinearDimension
A dimension.
attributes
Type: Rhino.DocObjectsObjectAttributes
Attributes to apply to dimension.

Return Value

Type: Guid
A unique identifier for the object.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also