GetVertexStreamPositionNormalColored Method


Gets a stream that can be used to write vertices of type VertexPositionNormalColored into the buffer.

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

Syntax

C#
public VertexStreamPositionNormalColored GetVertexStreamPositionNormalColored()
Visual Basic
Public Function GetVertexStreamPositionNormalColored As VertexStreamPositionNormalColored
Visual C++
public:
VertexStreamPositionNormalColored^ GetVertexStreamPositionNormalColored()

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 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 →