Table of Contents

Enum CadDialogAction

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

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.

public enum CadDialogAction

Fields

Cancel = 0

Cancel or the close button: nothing is made.

Ok = 1

OK: the command makes what the dialog says.

PickPoint = 2

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

SelectObjects = 3

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

PickHeight = 4

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

PickRotation = 5

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

SelectBlock = 6

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

Apply = 7

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

Browse = 8

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.