MultiReferenceAnnotationOptions
Options which control the creation of MultiReferenceAnnotations.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.MultiReferenceAnnotationOptions
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class MultiReferenceAnnotationOptions : IDisposable
The MultiReferenceAnnotationOptions type exposes the following members.
Constructors
Name
Description
Public Method
MultiReferenceAnnotationOptions
Create an instance of Multi-Reference Annotation Options set with default values.
Properties
Name
Description
Public Property
DimensionLineDirection
The direction vector of the dimension line.
Public Property
DimensionLineOrigin
The origin point for the dimension line.
Public Property
DimensionPlaneNormal
The normal vector to the dimension plane.
Public Property
DimensionStyleType
The dimension style type to be used by the new MultiReferenceAnnotation.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
MultiReferenceAnnotationType
The MultiReferenceAnnotationType to be used by the new MultiReferenceAnnotation.
Public Property
TagHasLeader
When true the tag will be created with an attached leader. When false the tag will be created without a leader.
Public Property
TagHeadPosition
The position for the tag’s head.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the MultiReferenceAnnotationOptions
Public Method
ElementsMatchReferenceCategory
Verifies that all of the elements match the reference category required by the MultiReferenceAnnotationType.
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetAdditionalReferencesToDimension
Gets the additional references which the dimension will witness.
Public Method
GetElementsToDimension
Gets the elements which the dimension will witness.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
IsAllowedDimensionStyleType
Only Linear and LinearFixed dimension style types are allowed for new MultiReferenceAnnotations.
Public Method
ReferencesDontMatchReferenceCategory
Verifies that all of the references belongs to elements which doesn’t match the reference category required by the MultiReferenceAnnotationType.
Public Method
SetAdditionalReferencesToDimension
Sets the additional references which the dimension will witness.
Public Method
SetElementsToDimension
Sets the elements which the dimension will witness.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Remarks
MultiReferenceAnnotationOptions include the specification of the associated elements and options for the dimension and tag placement.