PostConfiguratorBuilder Class

class NXOpen.SIM.PostConfigurator.PostConfiguratorBuilder

Bases: NXOpen.Builder

This class is used to create a post configurator builder.

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

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

New in version NX10.0.3.

Properties

Property Description
DateValue Returns the date value.
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.
EncryptPostConfiguratorFiles Encrypts a post processor with Sold-To ID and expiration date.
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.
Reset Resets the post configurator data.
SaveAs Saves the post configurator data in different name.
ShowChanges Shows the post configurator data changes in the listing window.
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

DateValue

PostConfiguratorBuilder.DateValue

Returns the date value.

The Date object will contain the value for expiration date.

-------------------------------------

Getter Method

Signature DateValue

Returns:the date value
Return type:NXOpen.DateBuilder

New in version NX10.0.3.

License requirements: None.

Method Detail

EncryptPostConfiguratorFiles

PostConfiguratorBuilder.EncryptPostConfiguratorFiles

Encrypts a post processor with Sold-To ID and expiration date.

Signature EncryptPostConfiguratorFiles(soldToID, expirationDate)

Parameters:
  • soldToID (str) – the sold to id
  • expirationDate (str) – the expiration date

New in version NX10.0.3.

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

Reset

PostConfiguratorBuilder.Reset

Resets the post configurator data.

Signature Reset()

New in version NX10.0.3.

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

SaveAs

PostConfiguratorBuilder.SaveAs

Saves the post configurator data in different name.

Signature SaveAs(postprocessorName, outputDirectory)

Parameters:
  • postprocessorName (str) – the postprocessor name
  • outputDirectory (str) – the output directory

New in version NX11.0.1.

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

ShowChanges

PostConfiguratorBuilder.ShowChanges

Shows the post configurator data changes in the listing window.

Signature ShowChanges()

New in version NX10.0.3.

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

Validate

PostConfiguratorBuilder.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.