PatternTypeBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# PatternTypeBuilder Class

class `NXOpen.CAM.``PatternTypeBuilder`

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

  Represents a Guided Curve pattern type builder

  This is an abstract class and cannot be instantiated.

  New in version NX11.0.1.

# Properties

Property | Description
--- | ---
PatternType | Returns or sets the pattern type used for common block
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

PatternTypeBuilderOption Enumeration | Enum of pattern type

# Property Detail

## PatternType

`PatternTypeBuilder.``PatternType`

  Returns or sets the pattern type used for common block

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

  Getter Method

  Signature `PatternType`

  Returns: | the pattern type value
  Return type: | `NXOpen.CAM.PatternTypeBuilderOption`

  New in version NX11.0.1.

  License requirements: None.

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

  Setter Method

  Signature `PatternType`

  Parameters: | patternType (`NXOpen.CAM.PatternTypeBuilderOption`) – the pattern type value

  New in version NX11.0.1.

  License requirements: cam_base (“CAM BASE”)

# Method Detail

## Validate

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