Table of Contents

CadAutoConstrainRule

from OpenCAD2D import CadAutoConstrainRule

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

One line of the AutoConstrain list of the Constraint Settings dialog: a constraint type and whether AUTOCONSTRAIN applies it; the list's order is the order they are tried in.

Constructors

__init__

.NET

def __init__(self, type: CadConstraintType, enabled: bool) -> None

Makes a rule.

Properties and fields

Enabled

.NET

@property
def Enabled(self) -> bool
@Enabled.setter
def Enabled(self, value: bool) -> None

Gets or sets whether AUTOCONSTRAIN applies the type.

Type

.NET

@property
def Type(self) -> CadConstraintType

Gets the constraint type.