ListCreator Class — NXOpen Python API Reference 12.0.0 documentation

# ListCreator Class

class `NXOpen.``ListCreator`

  Bases: `NXOpen.Builder`

  Represents a `NXOpen.ListCreator` to be used when exporting the JT Data This class is created using `NXOpen.PvtransManager`.

  NULL object will be returned from Commit()

  To create a new instance of this class, use `NXOpen.JtCreator.NewLevel()`

  New in version NX8.5.0.

# Properties

Property | Description
--- | ---
AdvCompression | Returns or sets the m_advCompression * - Specifies the advanced compression for Defined Level of Detail
Angular | Returns or sets the m_angular * - Specifies the angular tolerance for Defined Level of Detail
Chordal | Returns or sets the m_chordal * - Specifies the chordal tolerance for Defined Level of Detail
FeatureSuppression | Returns or sets the m_featureSuppression * - Specifies the feature supression for Defined Level of Detail
Label | Returns or sets the m_label * - Specifies the label for Defined Level of Detail
Length | Returns or sets the m_length * - Specifies the length tolerance for Defined Level of Detail
NxLabel | Returns or sets the m_nxlabel * - Specifies the label for Level of Detail using NX resolution
Resolution | Returns or sets the m_resolution * - Specifies the resolution type for Level of Detail using NX resolution
Simplify | Returns or sets the m_simplify * - Specifies the simplification tolerance for Defined Level of Detail
Tag | Returns the Tag for this object.
TessOption | Returns or sets the m_tessOption * - Specifies the type for Level of Details, whether Defined Level or Use NX Resolution

# Methods

Method | Description
--- | ---
Commit | Commits any edits that have been applied to the builder.
Destroy | Deletes the builder, and cleans up any objects created by the builder.
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit.
GetObject | Returns the object currently being edited by this builder.
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results.
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Enumerations

ListCreatorResolutionType Enumeration | resolution Type
ListCreatorTessellationOption Enumeration | Tessellation Option

# Property Detail

## AdvCompression

`ListCreator.``AdvCompression`

  Returns or sets the m_advCompression * - Specifies the advanced compression for Defined Level of Detail

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

  Getter Method

  Signature `AdvCompression`

  Returns: |
  Return type: | float

  New in version NX8.5.0.

  License requirements: None.

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

  Setter Method

  Signature `AdvCompression`

  Parameters: | compression (float) –

  New in version NX8.5.0.

  License requirements: None.

## Angular

`ListCreator.``Angular`

  Returns or sets the m_angular * - Specifies the angular tolerance for Defined Level of Detail

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

  Getter Method

  Signature `Angular`

  Returns: |
  Return type: | float

  New in version NX8.5.0.

  License requirements: None.

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

  Setter Method

  Signature `Angular`

  Parameters: | angular (float) –

  New in version NX8.5.0.

  License requirements: None.

## Chordal

`ListCreator.``Chordal`

  Returns or sets the m_chordal * - Specifies the chordal tolerance for Defined Level of Detail

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

  Getter Method

  Signature `Chordal`

  Returns: |
  Return type: | float

  New in version NX8.5.0.

  License requirements: None.

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

  Setter Method

  Signature `Chordal`

  Parameters: | chordal (float) –

  New in version NX8.5.0.

  License requirements: None.

## FeatureSuppression

`ListCreator.``FeatureSuppression`

  Returns or sets the m_featureSuppression * - Specifies the feature supression for Defined Level of Detail

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

  Getter Method

  Signature `FeatureSuppression`

  Returns: |
  Return type: | float

  New in version NX8.5.0.

  License requirements: None.

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

  Setter Method

  Signature `FeatureSuppression`

  Parameters: | suppression (float) –

  New in version NX8.5.0.

  License requirements: None.

## Label

`ListCreator.``Label`

  Returns or sets the m_label * - Specifies the label for Defined Level of Detail

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

  Getter Method

  Signature `Label`

  Returns: |
  Return type: | str

  New in version NX8.5.0.

  License requirements: None.

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

  Setter Method

  Signature `Label`

  Parameters: | label (str) –

  New in version NX8.5.0.

  License requirements: None.

## Length

`ListCreator.``Length`

  Returns or sets the m_length * - Specifies the length tolerance for Defined Level of Detail

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

  Getter Method

  Signature `Length`

  Returns: |
  Return type: | float

  New in version NX8.5.0.

  License requirements: None.

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

  Setter Method

  Signature `Length`

  Parameters: | length (float) –

  New in version NX8.5.0.

  License requirements: None.

## NxLabel

`ListCreator.``NxLabel`

  Returns or sets the m_nxlabel * - Specifies the label for Level of Detail using NX resolution

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

  Getter Method

  Signature `NxLabel`

  Returns: |
  Return type: | str

  New in version NX8.5.0.

  License requirements: None.

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

  Setter Method

  Signature `NxLabel`

  Parameters: | label (str) –

  New in version NX8.5.0.

  License requirements: None.

## Resolution

`ListCreator.``Resolution`

  Returns or sets the m_resolution * - Specifies the resolution type for Level of Detail using NX resolution

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

  Getter Method

  Signature `Resolution`

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

  New in version NX8.5.0.

  License requirements: None.

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

  Setter Method

  Signature `Resolution`

  Parameters: | resolution (`NXOpen.ListCreatorResolutionType`) –

  New in version NX8.5.0.

  License requirements: None.

## Simplify

`ListCreator.``Simplify`

  Returns or sets the m_simplify * - Specifies the simplification tolerance for Defined Level of Detail

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

  Getter Method

  Signature `Simplify`

  Returns: |
  Return type: | float

  New in version NX8.5.0.

  License requirements: None.

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

  Setter Method

  Signature `Simplify`

  Parameters: | simplify (float) –

  New in version NX8.5.0.

  License requirements: None.

## TessOption

`ListCreator.``TessOption`

  Returns or sets the m_tessOption * - Specifies the type for Level of Details, whether Defined Level or Use NX Resolution

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

  Getter Method

  Signature `TessOption`

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

  New in version NX8.5.0.

  License requirements: None.

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

  Setter Method

  Signature `TessOption`

  Parameters: | tessOption (`NXOpen.ListCreatorTessellationOption`) –

  New in version NX8.5.0.

  License requirements: None.

# Method Detail

## Validate

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