InstanceEditedExpressionItem Class

class NXOpen.GeometricUtilities.InstanceEditedExpressionItem

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

edited value of one master expression of the input object(s) being patterned.

To create a new instance of this class, use NXOpen.GeometricUtilities.InstanceEditedExpressionsList.EditInstanceExpression()

New in version NX7.5.0.

Properties

Property Description
MasterExpression Returns the master expression
Tag Returns the Tag for this object.
ValueExpression Returns the edited value expression for the master expression

Methods

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

Property Detail

MasterExpression

InstanceEditedExpressionItem.MasterExpression

Returns the master expression

-------------------------------------

Getter Method

Signature MasterExpression

Returns:
Return type:NXOpen.Expression

New in version NX7.5.0.

License requirements: None.

ValueExpression

InstanceEditedExpressionItem.ValueExpression

Returns the edited value expression for the master expression

-------------------------------------

Getter Method

Signature ValueExpression

Returns:
Return type:NXOpen.Expression

New in version NX7.5.0.

License requirements: None.

Method Detail

Validate

InstanceEditedExpressionItem.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.