Table of Contents

CadRemoteViolation

from OpenCAD2D.Remote import CadRemoteViolation

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

One place a drawing breaks a rule of a standard, as the app found it.

Properties and fields

Allowed

.NET

@property
def Allowed(self) -> str

Gets what the standard allows, as a sentence.

Box

.NET

@property
def Box(self) -> System.Array[float] | None

Gets the place (min X, min Y, max X, max Y), or null where the violation has none.

Handle

.NET

@property
def Handle(self) -> str

Gets the handle of the object, or of the record of the layer or style, that breaks the rule.

Limit

.NET

@property
def Limit(self) -> float

Gets the number allowed against CadRemoteViolation.Value, or NaN.

Measured

.NET

@property
def Measured(self) -> str

Gets what was found, as a sentence.

Other

.NET

@property
def Other(self) -> str | None

Gets the handle of the second object where the rule is about two; null where it is about one.

Rule

.NET

@property
def Rule(self) -> str

Gets the id of the rule broken.

Space

.NET

@property
def Space(self) -> str

Gets the name of the space the object is in; an empty text for a record of a table.

Through

.NET

@property
def Through(self) -> str | None

Gets the handle of the viewport the object was measured through, or null.

Value

.NET

@property
def Value(self) -> float

Gets the number found, or NaN where the rule is about a name.