SpatialElementRecenter Method |
Moves the spatial element to its default location.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxmember Recenter : unit -> unit
Exceptions
Remarks
The default location is a point where a spatial element is placed when it is created automatically without specifying a point.
The default location of a spatial element is identical to the center of the bounding box if it is located inside the boundary,
otherwise Revit will try to find a point that is guaranteed to be inside the boundary using an internal algorithm.
See Also