ModelLine Class


Represents a ModelLine within Autodesk Revit.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

C#
public class ModelLine : ModelCurve
Visual Basic
Public Class ModelLine _
	Inherits ModelCurve
Visual C++
public ref class ModelLine : public ModelCurve

Remarks

Geometry-related functionality is provided by the geometry curve object from the ModelCurve::geometryCurve property.

Inheritance Hierarchy

SystemObject
  Autodesk.Revit.DBElement
    Autodesk.Revit.DBCurveElement
      Autodesk.Revit.DBModelCurve
        Autodesk.Revit.DBModelLine

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →