ColorOverrideInActiveView

void ColorOverrideInActiveView(this Element element, Document document, Color? color = null)

Overrides colors of projection lines / surface foreground by applying OverrideGraphicSettings in the active view (uses Solid fill pattern).

Parameters

  • elementElement

    The element to override in the active view.

  • documentDocument

    The document containing the active view.

  • colorColor?

    Optional override color (defaults to red if null).

Returns: No return value.

Example

element.ColorOverrideInActiveView(doc, new Color(255, 128, 0));