Unbound Property


Returns the unbounded line that passes through the specified point in the direction of the specified vector.

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

Syntax

C#
[ObsoleteAttribute("This property is obsolete in Release 2014.  Use Line.CreateUnbound() instead.")]
public static Line this[
	XYZ origin,
	XYZ vector
] { get; }
Visual Basic
<ObsoleteAttribute("This property is obsolete in Release 2014.  Use Line.CreateUnbound() instead.")> _
Public Shared ReadOnly Property Unbound ( _
	origin As XYZ, _
	vector As XYZ _
) As Line
	Get
Visual C++
[ObsoleteAttribute(L"This property is obsolete in Release 2014.  Use Line.CreateUnbound() instead.")]
public:
static property Line^ Unbound[XYZ^ origin, XYZ^ vector] {
	Line^ get (XYZ^ origin, XYZ^ vector);
}

Parameters

origin
Type: Autodesk.Revit.DB XYZ
The start point of the line.
vector
Type: Autodesk.Revit.DB XYZ
The direction vector.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException Thrown when the specified vector is almost zero and cannot be normalized.

See Also