NXOpen.UF.Route.CreateDesignRuleVio¶
-
Route.
CreateDesignRuleVio
()¶ Refer to UF_ROUTE_create_design_rule_vio for documentation.
Deprecated since version NX11.0: Please use the AddViolation method in Routing::DesignRule.
Signature:
CreateDesignRuleVio(rule, shortDescription, longDescription, numObjects, objects)
Parameters: - rule (Tag) – Tag of rule which has been violated.
- shortDescription (str) – Terse description of the violation.
- longDescription (str) – Verbose description of the violation.
- numObjects (int) – Number of objects in violation
- objects (list of Tag) – Array of objects in violation.
Returns: New violation object.
Return type: License requirements: UG/ROUTING or routing_advanced