SimcenterKnowledge

Post-processing > Post processing with preconfigured views > Creating user-defined post-processing scenarios

Deploying user-defined post-processing scenarios

Depending on the scripting language you use, the scenario-based data visualization uses preexisting functionality to allow you to register your user-defined post-processing scenarios at Simcenter 3D startup.

Two ways to load your scenarios at Simcenter 3D startup are available. You can use one of the two environment variables and place files at the specified locations.

UGII_CUSTOM_DIRECTORY_FILE

  • This variable should point to a text file.

  • The text file should contain one folder path per line.

  • The names of the folders do not matter.The following are examples of paths defined in the .txt file to which the environment variable points:D:\UserScenarios****D:\MyScenarios

  • For each folder, the software searches for a subfolder named startup.Two path examples are:D:\UserScenarios\startup****D:\MyScenarios\startup

  • The \startup should contain a script, which implements a startup method.

UGII_USER_DIR

  • Similar to UGII_CUSTOM_DIRECTORY_FILE, but it should point to the path where your user-defined post-processing scenario files are located.An example of a path is:D:\UserScenarios

  • In the specified path, the scenarios should be stored in a folder named startup.An example of a path is:D:\UserScenarios\startup

Python

Python scenario scripts should be added to the startup folder as required by the environment variable used.

C++, .NET(VB, C#), and Java

For the C++, .NET (VB, C#), and Java languages, you must create a project that builds dynamically linked libraries (.dll), executables (.exe), or, in Java's case, java archives (.jar) or classes (class).

All these final products should then be placed in the startup folder as required by the environment variable used.

If the XML Scenario Descriptor is kept in a separate file, it should be placed in the same startup folder as the scripting file.

If a scenario matches successfully with the selected data, the Scenario will be available under the menu selection Scenario Based Data VisualizationScenariosUser Defined.

Learn more

User-defined post-processing scenarios

User-defined post-processing scenario examples

User-defined post-processing scenarios programmer's guide

Quick links

Command reference

Pre/Post video examples

Bulk Entry Descriptions

Simcenter 3D tutorials

Browse Simcenter 3D help by product area

Deploying user-defined post-processing scenarios, Simcenter 3D 2021.1 Series

© 2020 Siemens

window.mainLanguage="en_US"

window.delivId=""

window.projectId=""

MathJax.Hub.Config({ TeX: { extensions: ["autoload-all.js"] }, tex2jax: { displayMath: [ ] }, "SVG": { scale: 125 } });

Source: https://docs.sw.siemens.com/en-US/doc/289054037/PL20200601120302950.advanced/xid1932595 · retrieved 2026-07-17