Table of Contents

CadLayerFilterContext

from OpenCAD2D import CadLayerFilterContext

class CadLayerFilterContext(System.Object) ยท CadLayerFilterContext in the .NET reference

What a layer filter is tested against: the viewport VP Freeze looks at, and the plot styles and the layers in use of the drawing. The layers in use are worked out by the first rule that asks for them, once, and kept until the drawing changes.

Constructors

__init__

.NET

def __init__(self, database: DxfDatabase, viewport: DxfViewport | None = ...) -> None

Makes a context.

Properties and fields

Viewport

.NET

@property
def Viewport(self) -> DxfViewport | None

Gets the viewport VPFROZEN is read in; null for none.