Using Custom Simulation Options

Defining custom simulation options allows you to change the simulation mode of the VRC for specific simulation purposes.

For example, you might want to skip the wait input signal for the simulation of a single robot, but execute the wait signal for the interlocking of multiple robots.

A custom simulation option is a global Boolean option used for all robots in a session. Once defined, robot translators can read the values of custom simulation options by means of the OlpSimulationOptions API.

You can find the custom simulation options in Me > Preferences, and accessible from the Simulation Options panel in a 3DEXPERIENCE session.


Before you begin: This is a User Interface that allows you to add custom options to turn on/off off for a simulation. This is if you are using RRS-II and you also have customized the translator to use these options.
  1. From the top bar, select Me > Preferences and navigate to Simulation > Robotics > Robot Simulation.
  2. Click the Custom Simulation Options tab.


  3. In the Option Name column, double-click <ADD OPTION>, enter a name, and press Enter to create a custom option.

    Repeat this step to create multiple custom simulation options.



    In the Delete column, you can click to delete an option from the list. You can also click the column to drop a row up or down in the list for reordering.

  4. Set the Default Value for each option that you have created.

    Default Value specifies the default Boolean value of each option.

    • Select Default Value to specify a default value of True for an option.
    • Clear Default Value to specify a default value of False for an option.

  5. Click OK to close the Preferences dialog box.
  6. On the right side of the 3DEXPERIENCE work area, click Simulation Options .
    The Simulation Options panel appears.

  7. Click Show Preferences to reveal the visible tabs available. Select Custom Simulation Options in the list, followed by Save Preferences.


  8. Save and reopen your scenario.
    The Custom Simulation Options tab appears in the Simulation Options panel, and is populated with the options you have created.

    Upon downloading a robot program with Create Robot Program, the custom simulation options are indicated in the Messages Reporting panel.

  9. The following example code would retrieve the value of a custom simulation option (using FN80 as an example):

    Dim Helper As OlpTranslatorHelperLA = CATIA.Application.GetSessionService("OlpTranslatorHelper")
    Dim SimOptions as OlpSimulationOptions = Helper.SimulationOptions
    Dim FNValue as Boolean = SimOptions.GetParameter("FN80")