Table of Contents

CadDialogAction

from OpenCAD2D import CadDialogAction

class CadDialogAction(System.Enum) · CadDialogAction in the .NET reference

What a dialog of the block commands hands back to its command when it closes: OK, Cancel, or a pick on the canvas the command asks on the command line before it shows the dialog again, as AutoCAD hides its dialog for Pick point.

Values

Apply

.NET

Apply: ClassVar[CadDialogAction]

Apply: the command writes the values and shows the dialog again, as the Enhanced Attribute Editor's Apply.

Browse

.NET

Browse: ClassVar[CadDialogAction]

Browse… with FILEDIA 0: the command asks the file on the command line instead of the file dialog, then shows the dialog again with it.

Cancel

.NET

Cancel: ClassVar[CadDialogAction]

Cancel or the close button: nothing is made.

Ok

.NET

Ok: ClassVar[CadDialogAction]

OK: the command makes what the dialog says.

PickHeight

.NET

PickHeight: ClassVar[CadDialogAction]

The text height picked on the canvas, as a distance from the insertion point.

PickPoint

.NET

PickPoint: ClassVar[CadDialogAction]

Pick point: the command asks a point, then shows the dialog again with it.

PickRotation

.NET

PickRotation: ClassVar[CadDialogAction]

The rotation picked on the canvas, as the angle from the insertion point.

SelectBlock

.NET

SelectBlock: ClassVar[CadDialogAction]

Select block: the command asks another INSERT to edit, then shows the dialog again.

SelectObjects

.NET

SelectObjects: ClassVar[CadDialogAction]

Select objects: the command asks "Select objects:", then shows the dialog again with them.

Constructors

__init__

def __init__(self, value: int) -> None

Operators and Python protocols

__int__

def __int__(self) -> int