GetIndexStreamLine Method


Gets a stream that can be used to write line segment primitives into the buffer.

Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.0)
Since: 2017

Syntax

C#
public IndexStreamLine GetIndexStreamLine()
Visual Basic
Public Function GetIndexStreamLine As IndexStreamLine
Visual C++
public:
IndexStreamLine^ GetIndexStreamLine()

Return Value

The stream that can be used to write into this buffer.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions InvalidOperationException Thrown if the buffer is not mapped. -or- Thrown if the buffer has insufficient space.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →