Method PassesDynamic
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
PassesDynamic(string, DxfLayerTableRecord, CadLayerFilterContext)
Whether a layer passes one of the filters AutoCAD makes, by its name: All Used Layers, Unreconciled New Layers (none, as the library does not reconcile) and Viewport Overrides.
public static bool PassesDynamic(string name, DxfLayerTableRecord layer, CadLayerFilterContext context)
Parameters
namestringThe name of the filter.
layerDxfLayerTableRecordThe layer.
contextCadLayerFilterContextWhat the layer is read against.
Returns
- bool
True when it passes.