Table of Contents

CadRemoteStandardResult

from OpenCAD2D.Remote import CadRemoteStandardResult

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

What the app found in a drawing checked against a standard (CadRemoteDocument.CheckStandard): the scores, the total and the violations, as the app's own check gives them.

Properties and fields

Boxes

.NET

@property
def Boxes(self) -> System.Array[float]

Gets the places of the violations, four numbers each; NaN for a violation with no place.

Name

.NET

@property
def Name(self) -> str

Gets the name of the standard.

Rules

.NET

@property
def Rules(self) -> System.Collections.Generic.IReadOnlyList[CadRemoteRuleScore]

Gets the score of each rule the standard runs.

Total

.NET

@property
def Total(self) -> float

Gets the total score, from 0 to 1.

Violations

.NET

@property
def Violations(self) -> System.Collections.Generic.IReadOnlyList[CadRemoteViolation]

Gets the violations, in the app's order.