CadRemoteRuleScore
from OpenCAD2D.Remote import CadRemoteRuleScore
class CadRemoteRuleScore(System.Object) ยท CadRemoteRuleScore in the .NET reference
How one rule of a standard fared in the app's check (CadRemoteDocument.CheckStandard).
Properties and fields
Offenders
@property
def Offenders(self) -> int
Gets how many of them offend.
Rule
@property
def Rule(self) -> str
Gets the id of the rule: text-height, gap-word-line, layer-name and the others.
Score
@property
def Score(self) -> float
Gets the score, from 0 (every subject offends) to 1 (none does, or there was nothing to check).
Subjects
@property
def Subjects(self) -> int
Gets how many things the rule looked at.
Weight
@property
def Weight(self) -> float
Gets the weight of the rule in the total score.