CadPropertyRequest
from OpenCAD2D.Plugins import CadPropertyRequest
class CadPropertyRequest(System.Object) ยท CadPropertyRequest in the .NET reference
What a Properties provider is given when the panel is read: the drawing, the objects shown and what the panel shows so far, the presenter's groups and those of the extensions.
Properties and fields
Banner
@property
def Banner(self) -> str | None
@Banner.setter
def Banner(self, value: str | None) -> None
Gets or sets the banner the panel shows over its groups, as an extension's DescribeSelection gives it: null, as it is until a provider sets it, for none.
Document
@property
def Document(self) -> CadDocument
Gets the drawing.
Handles
@property
def Handles(self) -> System.Collections.Generic.IReadOnlyList[str]
Gets the handles of the objects shown, in ordinal order; empty for none.
Shown
@property
def Shown(self) -> CadSelectionInfo
Gets what the panel shows so far.