Direction Property


A fixed direction in UV-space. The parameter will drive the segment's angle relative to this direction.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2012

Syntax

C#
public UV Direction { get; set; }
Visual Basic
Public Property Direction As UV
	Get
	Set
Visual C++
public:
property UV^ Direction {
	UV^ get ();
	void set (UV^ value);
}

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException When setting this property: A non-optional argument was NULL
Autodesk.Revit.Exceptions ArgumentOutOfRangeException When setting this property: direction has zero length.
Autodesk.Revit.Exceptions DisabledDisciplineException When setting this property: None of the following disciplines is enabled: Structural.

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 →