OffsetAlongWire Property


Offset along wire direction Wire distance should be 0 if we want to be along the same wire

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

Syntax

C#
public double OffsetAlongWire { get; set; }
Visual Basic
Public Property OffsetAlongWire As Double
	Get
	Set
Visual C++
public:
property double OffsetAlongWire {
	double get ();
	void set (double value);
}

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException When setting this property: The given value for offset is not a number
Autodesk.Revit.ExceptionsArgumentOutOfRangeException When setting this property: The given value for offset must be between 0 and 30000 feet.

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 →