NXOpen.UF.Rule.AddRuleViolations

Rule.AddRuleViolations()

Refer to UF_RULE_add_rule_violations for documentation.

Deprecated since version NX5.0.

Signature: AddRuleViolations(rule, numViolations, violations)

Parameters:
  • rule (Tag) – Tag of the rule to modify.
  • numViolations (int) – Number of violations.
  • violations (list of Tag) – Violations array.

License requirements: UG/ROUTING or routing_advanced