PostScenarioParameters Class

class NXOpen.CAE.PostScenarioParameters

Bases: NXOpen.TransientObject

The class represents the NXOpen.CAE.PostScenarioParameters used to instanciate a NXOpen.CAE.PostScenarioBuilder.

To create a new instance of this class, use NXOpen.CAE.PostScenarioManager.NewPostScenarioParameters()

New in version NX11.0.0.

Properties

Property Description
DataSource Returns or sets the data source object to be processed by the post scenario.
ScenarioDescriptor Returns or sets the scenario descriptor used by the post scenario.
ViewPortIndex Returns or sets the index of a view port on the main graphic window, on which the plot graph will be shown.

Methods

Method Description
Dispose Destroys the object
SetPreferredDataSources Set preferred Data Sources to influence the default configuration of a scenario.

Property Detail

DataSource

PostScenarioParameters.DataSource

Returns or sets the data source object to be processed by the post scenario.

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

Getter Method

Signature DataSource

Returns:
Return type:NXOpen.CAE.IPostScenarioDataSource

New in version NX11.0.0.

Deprecated since version NX12.0.0: Data Sources are now added through CAE.PostScenarioManager.DataSources(). Alternatively, CAE.PostScenarioParameters.SetPreferredDataSources() can be used to configure the default configuration of a scenario. Setting this attribute has the same effect as SetPreferredDataSources(value).

License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

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

Setter Method

Signature DataSource

Parameters:dataSource (NXOpen.CAE.IPostScenarioDataSource) –

New in version NX11.0.0.

Deprecated since version NX12.0.0: Data Sources are now added through CAE.PostScenarioManager.DataSources(). Alternatively, CAE.PostScenarioParameters.SetPreferredDataSources() can be used to configure the default configuration of a scenario. Setting this attribute has the same effect as SetPreferredDataSources(value).

License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

ScenarioDescriptor

PostScenarioParameters.ScenarioDescriptor

Returns or sets the scenario descriptor used by the post scenario.

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

Getter Method

Signature ScenarioDescriptor

Returns:
Return type:NXOpen.CAE.PostScenarioDescriptor

New in version NX11.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

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

Setter Method

Signature ScenarioDescriptor

Parameters:scenarioDesc (NXOpen.CAE.PostScenarioDescriptor) –

New in version NX11.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

ViewPortIndex

PostScenarioParameters.ViewPortIndex

Returns or sets the index of a view port on the main graphic window, on which the plot graph will be shown.

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

Getter Method

Signature ViewPortIndex

Returns:
Return type:int

New in version NX11.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

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

Setter Method

Signature ViewPortIndex

Parameters:viewPortIndex (int) –

New in version NX11.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

Method Detail

Dispose

PostScenarioParameters.Dispose

Destroys the object

Signature Dispose()

New in version NX11.0.0.

License requirements: None.

SetPreferredDataSources

PostScenarioParameters.SetPreferredDataSources

Set preferred Data Sources to influence the default configuration of a scenario.

If the default configuration of a scenario is known to be overridden later in the program, there is no need to call this method. Setting a single preferred data source enables the behaviour from version 11.0.0.

Signature SetPreferredDataSources(dataSources)

Parameters:dataSources (list of NXOpen.CAE.DataSource) – The data sources can be retrieved from CAE.PostScenarioManager.DataSources()

New in version NX12.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)