Skip to main content

Easy Mode Generator

Custom Property Configuration

  • Configuration file for SceneComposer
  • Support for
    • Hiding properties
    • Initial values of properties
    • Define properties as Read-Only
  • Hide complexity for unexperienced users
  • Different configuration files for different user roles
    • Designer
    • Beginners / Experts
    • Control designer

The "SceneComposerConfigurator.exe" file can be used to generate an easy mode configuration file at any desired location. The name of this configuration file has to be chosen by the user.

The generator executable file has to be at the same level with SceneComposer.exe.

Workflow:

  1. Generate configuration xml file
    .\SceneComposer\SceneComposerConfigurator.exe -generate MyConfiguration.bin
    .\SceneComposer\SceneComposerConfigurator.exe -unpack MyConfiguration.bin MyConfiguration.xml
    
  2. Modify the xml file
  3. Pack the xml file again and put it at a certain place
    .\SceneComposer\SceneComposerConfigurator.exe -pack MyConfigurationModified.xml MyConfigurationModified.bin
    COPY MyConfigurationModified.bin .\config_restrictedAccess\config.bin
    
  4. Start SceneComposer and the modifications should be available (hidden properties / read only properties) The policy file must be stored at this location: SceneComposer\Data\Config\config.bin
drawing-4-1682659787.png

If necesary, the user can set the right path to the easy mode configuration files via "Preferences" panel.

drawing-4-1682659796.png

This is possible in two different ways:

  • By writing inside the field the path and the name of the config file;
  • By browsing the configuration file.

In the configuration file the user can set values that will overwrite the default value from the ApplicationConfig file when SceneComposer starts. In this way, it can be set which object properties are to be presented in SceneComposer's property grid, "Preferences", and all existing dynamic properties.

The configuration file will contain an element "Commands" containing the element "ForbidControlCreation". The element "ForbidControlCreation" can contain only values "True" or "False" were:

  • True: SceneComposer no longer allows creating new controls
  • False: no behavioral change in SceneComposer

The configuration applies to all static object properties. The user can rule for dynamic properties like widgets, behaviours, controls. The configuration of widgets, behaviours and controls cannot be extracted/generated automatically.

The configuration values which can be set are:

  • Initial value;
  • Restrict visibility (True/False);
  • ForeceReadOnly (True/False).