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
@property
def Allowed(self) -> str
Gets what the standard allows, as a sentence.
Box
@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
@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
@property
def Limit(self) -> float
Gets the number allowed against CadRemoteViolation.Value, or NaN.
Measured
@property
def Measured(self) -> str
Gets what was found, as a sentence.
Other
@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
@property
def Rule(self) -> str
Gets the id of the rule broken.
Space
@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
@property
def Through(self) -> str | None
Gets the handle of the viewport the object was measured through, or null.
Value
@property
def Value(self) -> float
Gets the number found, or NaN where the rule is about a name.