Table of Contents

CadPropertyProvider

from OpenCAD2D.Plugins import CadPropertyProvider

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

What a plugin gives the Properties panel, as the extension's DescribeSelection does: it gets the request and returns what the panel shows, typically the groups it was given and its own besides. Null shows the panel as it was. Providers run after the extensions, in the order the plugins were loaded; one that throws is passed over for that call, with a Warn. A row with a setter is committed by the window as an extension's row is.

Constructors

__init__

def __init__(self, function: Callable[[CadPropertyRequest], CadSelectionInfo]) -> None

Operators and Python protocols

__call__

def __call__(self, request: CadPropertyRequest) -> CadSelectionInfo