GetAnnotationCenter Method


Annotation Multiple Alignment Utils Get Annotation Center Method

Gets the center of the alignable element in model space.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static XYZ GetAnnotationCenter(
	Element element
)

Parameters

element Element
The element for which we are retrieving the center.

Return Value

XYZ
The center point of the alignable element.
Exceptions
Exception Condition
ArgumentException The element element does not support multiple alignment behavior. -or-
ArgumentNullException A non-optional argument was null
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →