Table of Contents

CadConstraintSettingsRequest

from OpenCAD2D import CadConstraintSettingsRequest

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

What the command hands the window's Constraint Settings dialog: the settings to show (a copy), the tab to open on, and what the dialog did.

Constructors

__init__

.NET

def __init__(self, settings: CadConstraintSettings, tab: int) -> None

Makes the request.

Properties and fields

Action

.NET

@property
def Action(self) -> CadDialogAction
@Action.setter
def Action(self, value: CadDialogAction) -> None

Gets or sets what the dialog did: OK or Cancel.

Settings

.NET

@property
def Settings(self) -> CadConstraintSettings

Gets the settings the dialog shows and changes; OK makes them the session's.

Tab

.NET

@property
def Tab(self) -> int

Gets the tab to open on: 0 Geometric, 1 Dimensional, 2 AutoConstrain.