NXOpen.UF.Rule.AskObjectViolations

Rule.AskObjectViolations()

Refer to UF_RULE_ask_object_violations for documentation.

Deprecated since version NX5.0.

Signature: AskObjectViolations(objectArg)

Parameters:objectArg (Tag) – The object to inquire
Returns:A Tuple
Return type:A tuple consisting of (numViolations,violations)

numViolations(int): The number of violations returned

violations(list of Tag): The array of violations. This must be freed by calling UF_free.

License requirements: None