DimensionSetBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# DimensionSetBuilder Class

class `NXOpen.Annotations.``DimensionSetBuilder`

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

  Represents a `NXOpen.Annotations.DimensionSetBuilder`

  This is a sub-builder class and cannot be directly instantiated

  New in version NX9.0.0.

# Properties

Property | Description
--- | ---
DimensionOrSet | Returns the dimension or dimension set object
Method | Returns or sets the dimension set method
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

DimensionSetBuilderDimensionSetMethod Enumeration | dimension set method

# Property Detail

## DimensionOrSet

`DimensionSetBuilder.``DimensionOrSet`

  Returns the dimension or dimension set object

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

  Getter Method

  Signature `DimensionOrSet`

  Returns: |
  Return type: | `NXOpen.Annotations.SelectAnnotation`

  New in version NX9.0.0.

  License requirements: None.

## Method

`DimensionSetBuilder.``Method`

  Returns or sets the dimension set method

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

  Getter Method

  Signature `Method`

  Returns: |
  Return type: | `NXOpen.Annotations.DimensionSetBuilderDimensionSetMethod`

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Method`

  Parameters: | method (`NXOpen.Annotations.DimensionSetBuilderDimensionSetMethod`) –

  New in version NX9.0.0.

  License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”)

# Method Detail

## Validate

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