The DrawContext type exposes the following members.

Methods

  NameDescription
Public methodStatic memberFlushBuffer
Submits geometry for rendering.
Public methodStatic memberGetCamera
Gets the camera corresponding to the Revit view where rendering takes place.
Public methodStatic memberGetClipPlanes
Gets the clipping planes for the Revit view where rendering takes place. Clipping planes control the 3D extent of a view and can be set using Section Box in Revit.
Public methodStatic memberGetClipRectangle
Gets the clip rectangle for the Revit view where rendering takes place. The clip rectangle is the area currently being redrawn, which may be smaller than the view rectangle.
Public methodStatic memberGetOverrideColor
Returns override color that will be applied to geometry during rendering.
Public methodStatic memberGetOverrideTransparency
Returns override transparency that will be applied to geometry during rendering.
Public methodStatic memberGetViewRectangle
Gets the rectangle that represents the extent (in 2D) of the Revit view where rendering takes place.
Public methodStatic memberIsAvailable
Checks whether the facilities of this class are available for use in the current scope.
Public methodStatic memberIsInterrupted
Checks whether the current rendering pass has been interrupted.
Public methodStatic memberIsTransparentPass
Determines whether the current rendering pass is for transparent objects.
Public methodStatic memberSetWorldTransform
Sets the world transformation that will be applied to geometry during rendering.

See Also