DrawContext Class


A class that provides drawing functionality for use by IDirectContext3DServer servers

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

Syntax

C#
public static class DrawContext
Visual Basic
Public NotInheritable Class DrawContext
Visual C++
public ref class DrawContext abstract sealed

Remarks

The drawing facility of this class is conceptually similar to a low-level graphics API. The functionality operates on a set of geometry primitives such as triangles, lines, and points, which are encoded into a set of vertex and index buffers.

Aside from submission of geometry in buffers, a major part of the drawing process is responding to certain changes in graphics state. For example, users of this class can implement progressive rendering of geometry by testing whether there have been interruptions that should prevent the drawing from being completed.

Inheritance Hierarchy

System Object
Autodesk.Revit.DB.DirectContext3D DrawContext

See Also