Table of Contents

CadPropertyEditor

from OpenCAD2D import CadPropertyEditor

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

Sets a property of the selected entities from the Properties panel, as AutoCAD's palette does: the row's label and the text typed into it, the text written as CadProperties.Describe shows it, so that what a row shows can be typed back. One call is one undo step.

The rows of polylines, ellipses, hatches, dimensions, MTEXTs, block references, viewports and multileaders, set as AutoCAD 2021's palette sets them.

Methods

Set

.NET

@staticmethod
def Set(
    document: CadDocument,
    handles: System.Collections.Generic.IReadOnlyCollection[str],
    label: str,
    value: str,
) -> CadEditResult

Sets one property of entities.