PatternIncrementItem Class — NXOpen Python API Reference 12.0.0 documentation

# PatternIncrementItem Class

class `NXOpen.GeometricUtilities.``PatternIncrementItem`

  Bases: `NXOpen.TaggedObject`, `NXOpen.GeometricUtilities.IComponentBuilder`

  variational for one master expression of the input object(s) being patterned.

  To create a new instance of this class, use `NXOpen.GeometricUtilities.PatternIncrementsList.CreatePatternIncrementItem()`

  New in version NX7.5.0.

# Properties

Property | Description
--- | ---
IncrementExpression | Returns the increment or variation to be applied to master expression
MasterExpression | Returns the master expression
Operation | Returns or sets the increment operation
Tag | Returns the Tag for this object.

# Methods

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

# Enumerations

PatternIncrementItemOperationEnum Enumeration | increment operation option.

# Property Detail

## IncrementExpression

`PatternIncrementItem.``IncrementExpression`

  Returns the increment or variation to be applied to master expression

  `-------------------------------------`

  Getter Method

  Signature `IncrementExpression`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX7.5.0.

  License requirements: None.

## MasterExpression

`PatternIncrementItem.``MasterExpression`

  Returns the master expression

  `-------------------------------------`

  Getter Method

  Signature `MasterExpression`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX7.5.0.

  License requirements: None.

## Operation

`PatternIncrementItem.``Operation`

  Returns or sets the increment operation

  `-------------------------------------`

  Getter Method

  Signature `Operation`

  Returns: |
  Return type: | `NXOpen.GeometricUtilities.PatternIncrementItemOperationEnum`

  New in version NX7.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `Operation`

  Parameters: | operation (`NXOpen.GeometricUtilities.PatternIncrementItemOperationEnum`) –

  New in version NX7.5.0.

  License requirements: None.

# Method Detail

## Validate

`PatternIncrementItem.``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.