CheckerNode Class¶
-
class
NXOpen.Validate.
CheckerNode
¶ Bases:
NXOpen.TransientObject
Represents a checker that validator will use to check against part node.
Checker node contains the information of checker class name and checker parameter attribute values. If the checker class is a profile which contains child checker instances, you can set the enable flags to the child checker instances in the profile checker class to turn on or off the child checker instances.
New in version NX7.5.0.
Properties¶
Property | Description |
---|---|
AttributeCustomizedFormulas | Returns or sets the customized formula lines of checker. |
ClassName | Returns or sets the checker class name |
Methods¶
Method | Description |
---|---|
Dispose | Frees the object from memory. |
GetChildCheckerEnabledFlag | Gets enable flag of child checker instance in a profile checker. |
GetChildCheckerEnabledFlags | Gets child checker instance names and enable flags in a profile checker. |
GetChildCheckerInstanceNames | Gets child checker instance names in a profile checker. |
SetChildCheckerEnabledFlag | Sets enable flag of child checker instance in a profile checker. |
SetChildCheckerEnabledFlags | Sets child checker enable flags in a profile checker. |
Property Detail¶
AttributeCustomizedFormulas¶
-
CheckerNode.
AttributeCustomizedFormulas
¶ Returns or sets the customized formula lines of checker.
For example:
“Disabled?;False;save_log_in_part;True”
For more information, see the Knowledge Fusion and NX Open section of the Knowledge Fusion Help.
-------------------------------------
Getter Method
Signature
AttributeCustomizedFormulas
Returns: The formula lines of checker Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AttributeCustomizedFormulas
Parameters: formulaLines (str) – The formula lines of checker New in version NX7.5.0.
License requirements: None.
ClassName¶
-
CheckerNode.
ClassName
¶ Returns or sets the checker class name
-------------------------------------
Getter Method
Signature
ClassName
Returns: checker class name Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ClassName
Parameters: className (str) – checker class name New in version NX7.5.0.
License requirements: None.
Method Detail¶
Dispose¶
-
CheckerNode.
Dispose
¶ Frees the object from memory.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Signature
Dispose()
New in version NX7.5.0.
License requirements: None.
GetChildCheckerEnabledFlag¶
-
CheckerNode.
GetChildCheckerEnabledFlag
¶ Gets enable flag of child checker instance in a profile checker.
Signature
GetChildCheckerEnabledFlag(childCheckerInstance)
Parameters: childCheckerInstance (str) – The instance name of child checker in the profile checker Returns: The enable flag of child checker in the profile checker. Return type: bool New in version NX7.5.0.
License requirements: None.
GetChildCheckerEnabledFlags¶
-
CheckerNode.
GetChildCheckerEnabledFlags
¶ Gets child checker instance names and enable flags in a profile checker.
Signature
GetChildCheckerEnabledFlags()
Returns: a tuple Return type: A tuple consisting of (enableFlags, childCheckerInstances) enableFlags is a list of bool. The enable flags of child checkers in the profile checker childCheckerInstances is a list of str. The instance names of child checkers in the profile checker New in version NX7.5.0.
License requirements: None.
GetChildCheckerInstanceNames¶
-
CheckerNode.
GetChildCheckerInstanceNames
¶ Gets child checker instance names in a profile checker.
Signature
GetChildCheckerInstanceNames()
Returns: The instance names of child checkers in the profile checker Return type: list of str New in version NX7.5.0.
License requirements: None.
SetChildCheckerEnabledFlag¶
-
CheckerNode.
SetChildCheckerEnabledFlag
¶ Sets enable flag of child checker instance in a profile checker.
Signature
SetChildCheckerEnabledFlag(childCheckerInstance, enableFlag)
Parameters: - childCheckerInstance (str) – The instance name of child checker in the profile checker
- enableFlag (bool) – The enable flag of child checker in the profile checker.
New in version NX7.5.0.
License requirements: None.
SetChildCheckerEnabledFlags¶
-
CheckerNode.
SetChildCheckerEnabledFlags
¶ Sets child checker enable flags in a profile checker.
Signature
SetChildCheckerEnabledFlags(childCheckerInstances, enableFlags)
Parameters: - childCheckerInstances (list of str) – The instance names of child checkers in the profile checker
- enableFlags (list of bool) – The enable flags of child checkers in the profile checker
New in version NX7.5.0.
License requirements: None.