Constructs the line segment primitive. 
Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2017 
Syntax
| C# | 
|---|
|  | 
| Visual Basic | 
|---|
|  | 
| Visual C++ | 
|---|
|  | 
Parameters
- index0
- Type: SystemInt32
 The index of the line segment's first vertex.
- index1
- Type: SystemInt32
 The index of the line segment's second vertex.