NXOpen.UF.Route.CheckDesignRules

Route.CheckDesignRules()

Refer to UF_ROUTE_check_design_rules for documentation.

Deprecated since version NX11.0: Please use the CheckRules method in Routing::RouteManager.

Signature: CheckDesignRules(mode, reason, numObjects, objects)

Parameters:
  • mode (int) – Design rule mode
  • reason (int) – Design rule reason.
  • numObjects (int) – Number of objects to check (can be 0)
  • objects (list of Tag) – Tags of objects to check
Returns:

A Tuple

Return type:

A tuple consisting of (numViolations,violations)

numViolations(int): The number of violations generated by the check.

violations(list of Tag): The tags of the violations. To be freed using UF_free.

License requirements: UG/ROUTING or routing_advanced