ObjectTableAddAngularDimension Method (AngularDimension, ObjectAttributes, HistoryRecord, Boolean) |
Adds an angular dimension object to the document.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public Guid AddAngularDimension(
AngularDimension dimension,
ObjectAttributes attributes,
HistoryRecord history,
bool reference
)
Public Function AddAngularDimension (
dimension As AngularDimension,
attributes As ObjectAttributes,
history As HistoryRecord,
reference As Boolean
) As Guid
Parameters
- dimension
- Type: Rhino.GeometryAngularDimension
Dimension object to add. - attributes
- Type: Rhino.DocObjectsObjectAttributes
Attributes to apply to dimension. - history
- Type: Rhino.DocObjectsHistoryRecord
Object history to save. - reference
- Type: SystemBoolean
If reference, then object will not be saved into the 3dm file.
Return Value
Type:
GuidThe Guid of the newly added object or Guid.Empty on failure.
See Also