2026 Class
Changes 0
C

Location

Description:
Provides location functionality for all elements.
Remarks:
The location object provides the ability to translate and rotate elements. More detailed location information and control can be found by using the derivatives of this object, such as LocationPoint or LocationCurve.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.APIObject
    Autodesk.Revit.DB.Location
      Autodesk.Revit.DB.LocationCurve
      Autodesk.Revit.DB.LocationPoint
public class Location : APIObject
Name Return Type Description Inherited From
M Dispose() None Causes the object to release immediately any resources it may be utilizing. (Inherited from APIObject ) APIObject
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M Move(XYZ) Boolean Move the element within the project by a specified vector.
M Rotate(Line, Double) Boolean Rotate the element within the project by a specified angle around a given axis.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P IsReadOnly bool Identifies if the object is read-only or modifiable. (Inherited from APIObject ) APIObject