LocationCurve Class

Provides location functionality for all elements that are based upon a curve.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBAPIObject
    Autodesk.Revit.DBLocation
      Autodesk.Revit.DBLocationCurve

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class LocationCurve : Location

The LocationCurve type exposes the following members.

Properties
 NameDescription
Public propertyCode exampleCurveProvides the ability to get and set the curve of a curve based element.
Public propertyElementsAtJoinGet all elements joining to the end of this element's location curve or change the order of elements participation in the end join with this location curve's end.
Public propertyCode exampleIsReadOnlyIdentifies if the object is read-only or modifiable.
(Inherited from APIObject)
Public propertyJoinTypeGet/change the type of the join at the specified end.
Top
Methods
 NameDescription
Public methodDisposeCauses the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodCode exampleMoveMove the element within the project by a specified vector.
(Inherited from Location)
Public methodCode exampleRotateRotate the element within the project by a specified angle around a given axis.
(Inherited from Location)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
The location line objects adds additional functionality to its base location object class. This includes reading and writing the curve contained within the element.
See Also