NXOpen.UF.Rule.CreateOrUpdateVio

Rule.CreateOrUpdateVio()

Refer to UF_RULE_create_or_update_vio for documentation.

Deprecated since version NX5.0.

Signature: CreateOrUpdateVio(objectArg, rule, shortDescription, longDescription, numObjects, objects)

Parameters:
  • objectArg (Tag) – Tag of the object in violation
  • rule (Tag) – Tag of the rule which the object violates
  • shortDescription (str) – Short description of the violation
  • longDescription (str) – Long description of the violation
  • numObjects (int) – Number of objects in violation
  • objects (list of Tag) – Tags of objects in violation
Returns:

Tag of the violation

Return type:

Tag

License requirements: UG/ROUTING or routing_advanced