PostScenarioParameters Class¶
-
class
NXOpen.CAE.PostScenarioParameters¶ Bases:
NXOpen.TransientObjectThe class represents the
NXOpen.CAE.PostScenarioParametersused to instanciate aNXOpen.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
DataSourceReturns: Return type: NXOpen.CAE.IPostScenarioDataSourceNew 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
DataSourceParameters: 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
ScenarioDescriptorReturns: Return type: NXOpen.CAE.PostScenarioDescriptorNew in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
-------------------------------------Setter Method
Signature
ScenarioDescriptorParameters: 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
ViewPortIndexReturns: 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
ViewPortIndexParameters: 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 fromCAE.PostScenarioManager.DataSources()New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)