CreationPostBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# CreationPostBuilder Class

class `NXOpen.SIM.PostConfigurator.``CreationPostBuilder`

  Bases: `NXOpen.Builder`

  This class is used to create a new postprocessor.

  Calling `Builder.Commit()` on this builder will only return None.

  To create a new instance of this class, use `NXOpen.SIM.PostConfigurator.PostConfiguratorManager.CreateCreationPostBuilder()`

  New in version NX10.0.3.

# Properties

Property | Description
--- | ---
ControllerName | Returns or sets the controller’s name that is used for the postprocessor.
MachineName | Returns or sets the machine’s name that is used for the postprocessor.
ManufacturerName | Returns or sets the manufacturer’s name that is used for the postprocessor.
PostprocessorName | Returns or sets the postprocessor’s name.
PostprocessorOutputDirectory | Returns or sets the postprocessor’s output directory where the postprocessor is created.
Tag | Returns the Tag for this object.

# 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.
GetControllerNames | Returns the list of Controller Names in the postprocessor.
GetMachineNames | Returns the list of Machine Names in the postprocessor.
GetManufacturerNames | Returns the list of Manufacturer Names in the postprocessor.
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.

# Property Detail

## ControllerName

`CreationPostBuilder.``ControllerName`

  Returns or sets the controller’s name that is used for the postprocessor.

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

  Getter Method

  Signature `ControllerName`

  Returns: | The controller’s name
  Return type: | str

  New in version NX10.0.3.

  License requirements: None.

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

  Setter Method

  Signature `ControllerName`

  Parameters: | name (str) – the controller’s new name

  New in version NX10.0.3.

  License requirements: nx_post_config_full (“NX Post Configurator”) OR nx_post_config_adv (“NX Post Configurator”)

## MachineName

`CreationPostBuilder.``MachineName`

  Returns or sets the machine’s name that is used for the postprocessor.

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

  Getter Method

  Signature `MachineName`

  Returns: | The machine’s name
  Return type: | str

  New in version NX10.0.3.

  License requirements: None.

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

  Setter Method

  Signature `MachineName`

  Parameters: | name (str) – the machine’s new name

  New in version NX10.0.3.

  License requirements: nx_post_config_full (“NX Post Configurator”) OR nx_post_config_adv (“NX Post Configurator”)

## ManufacturerName

`CreationPostBuilder.``ManufacturerName`

  Returns or sets the manufacturer’s name that is used for the postprocessor.

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

  Getter Method

  Signature `ManufacturerName`

  Returns: | The manufacturer’s name
  Return type: | str

  New in version NX10.0.3.

  License requirements: None.

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

  Setter Method

  Signature `ManufacturerName`

  Parameters: | name (str) – the manufacturer’s new name

  New in version NX10.0.3.

  License requirements: nx_post_config_full (“NX Post Configurator”) OR nx_post_config_adv (“NX Post Configurator”)

## PostprocessorName

`CreationPostBuilder.``PostprocessorName`

  Returns or sets the postprocessor’s name.

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

  Getter Method

  Signature `PostprocessorName`

  Returns: | The postprocessor’s name
  Return type: | str

  New in version NX10.0.3.

  License requirements: None.

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

  Setter Method

  Signature `PostprocessorName`

  Parameters: | name (str) – the postprocessor’s new name

  New in version NX10.0.3.

  License requirements: nx_post_config_full (“NX Post Configurator”) OR nx_post_config_adv (“NX Post Configurator”)

## PostprocessorOutputDirectory

`CreationPostBuilder.``PostprocessorOutputDirectory`

  Returns or sets the postprocessor’s output directory where the postprocessor is created.

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

  Getter Method

  Signature `PostprocessorOutputDirectory`

  Returns: | The postprocessor’s output directory
  Return type: | str

  New in version NX10.0.3.

  License requirements: None.

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

  Setter Method

  Signature `PostprocessorOutputDirectory`

  Parameters: | outputDirectory (str) – the postprocessor’s new output directory

  New in version NX10.0.3.

  License requirements: nx_post_config_full (“NX Post Configurator”) OR nx_post_config_adv (“NX Post Configurator”)

# Method Detail

## GetControllerNames

`CreationPostBuilder.``GetControllerNames`

  Returns the list of Controller Names in the postprocessor.

  Signature `GetControllerNames()`

  Returns: | the list of available controller
  Return type: | list of str

  New in version NX10.0.3.

  License requirements: None.

## GetMachineNames

`CreationPostBuilder.``GetMachineNames`

  Returns the list of Machine Names in the postprocessor.

  Signature `GetMachineNames()`

  Returns: | the list of available machine
  Return type: | list of str

  New in version NX10.0.3.

  License requirements: None.

## GetManufacturerNames

`CreationPostBuilder.``GetManufacturerNames`

  Returns the list of Manufacturer Names in the postprocessor.

  Signature `GetManufacturerNames()`

  Returns: | the list of available manufacturer
  Return type: | list of str

  New in version NX10.0.3.

  License requirements: None.

## Validate

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