Creates a new instance of a bound linear curve.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic static Line CreateBound(
XYZ endpoint1,
XYZ endpoint2
)
Public Shared Function CreateBound (
endpoint1 As XYZ,
endpoint2 As XYZ
) As Line
public:
static Line^ CreateBound(
XYZ^ endpoint1,
XYZ^ endpoint2
)
static member CreateBound :
endpoint1 : XYZ *
endpoint2 : XYZ -> Line
Parameters
- endpoint1 XYZ
-
The first line endpoint.
- endpoint2 XYZ
-
The second line endpoint.
Return Value
Line
The new bound line.
Exceptions
See Also