NXOpen.UF.Rule.CreateRule¶
-
Rule.
CreateRule
()¶ Refer to UF_RULE_create_rule for documentation.
Signature:
CreateRule(objectInPart, name, description, application, checkFunction)
Parameters: - objectInPart (Tag) – Tag of the object in the same part to create the new rule object. (May be a part tag).
- name (str) – Name of the rule.
- description (str) – Description of the rule.
- application (str) – Application of the rule.
- checkFunction (Tag) – Tag of a design Rule Function.
Returns: Tag of new rule.
Return type: Tag
License requirements: UG/ROUTING or routing_advanced