ConditionsBuilder Class

class NXOpen.AME.ConditionsBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

JA class for the conditions dialog

New in version NX11.0.0.

Properties

Property Description
Tag Returns the Tag for this object.

Methods

Method Description
RemoveCondition Remove the condition for the rule
SetCondition Set the condition for the rule
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Method Detail

RemoveCondition

ConditionsBuilder.RemoveCondition

Remove the condition for the rule

Signature RemoveCondition()

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

SetCondition

ConditionsBuilder.SetCondition

Set the condition for the rule

Signature SetCondition(exp)

Parameters:exp (NXOpen.Expression) –

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

Validate

ConditionsBuilder.Validate

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

Signature Validate()

Returns:Was self validation successful
Return type:bool

New in version NX3.0.1.

License requirements: None.