CadObjectFilter
from OpenCAD2D.Remote import CadObjectFilter
class CadObjectFilter(System.Object) ยท CadObjectFilter in the .NET reference
What CadRemoteDocument.GetObjects asks for: the objects of one kind, on one layer, in one space. A member left null does not narrow the answer, so an empty filter is every object of the drawing's model space and layouts.
Constructors
__init__
def __init__(self) -> None
Properties and fields
Kind
@property
def Kind(self) -> System.Type | None
@Kind.setter
def Kind(self, value: System.Type | type[Any] | None) -> None
Gets or sets the kind of object, a class of the library's entities: typeof(DxfLine) is the lines, typeof(DxfDimension) every dimension, rotated, aligned, radial and the rest. Null, the default, is every kind.
Layer
@property
def Layer(self) -> str | None
@Layer.setter
def Layer(self, value: str | None) -> None
Gets or sets the name of the layer the objects are on, compared without regard to case; null for every layer.
Layout
@property
def Layout(self) -> str | None
@Layout.setter
def Layout(self, value: str | None) -> None
Gets or sets the space the objects are in: Model for model space, or the name of a layout, compared without regard to case. Null, the default, is model space and every layout.