SilverScreen Solid Modeler

EngineInitStruct

EngineInitStruct

Previous topic Next topic  

EngineInitStruct

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

EngineInitStruct

 

Structure

The EngineInitStruct data type is used to configure startup behavior of the SilverEngine development platform.

 

   

  struct EngineInitStruct

     {

     USINT32  bits;

     char     env_file[THIS_COMMAND_SIZE];

     char     path_exec[THIS_COMMAND_SIZE];

     char     path_drawing[THIS_COMMAND_SIZE];

     char     path_library[THIS_COMMAND_SIZE];

     };

 

 

 

Members

Member

Description

bits

A bit-flag whose meaning is as follows:

 

Name

Description

EI_USE_ENV

use env_file file for initialization

EI_USE_PATHS

use paths for initialization

EI_ALLOW_DEMO_MODE

If SilverEngine is not licensed, then use demo mode, which has a limited feature-set, otherwise quit

EI_BITS_RESERVED

Reserved for internal use by SDC

env_file

If EI_USE_ENV is set in bits, this contains a path to a startup environment file (for instance, "silver.env").

path_exec

If EI_USE_PATHS is set in bits, this contains a path to the SilverScreen execution directory (the default is the ex sub-directory of the installation location)

path_drawing

If EI_USE_PATHS is set in bits, this contains a path to the SilverScreen drawing  directory (the default is the drw sub-directory of the installation location)

path_library

If EI_USE_PATHS is set in bits, this contains a path to the SilverScreen library directory (the default is the lib sub-directory of the installation location)

 

 

Remarks

You should use either EI_USE_ENV or EI_USE_PATHS, not both. EI_USE_ENV takes precedence if both are specified.

 

When EI_USE_PATHS is specified, the default environment file silver.env must be present in the silver or home directory.

 

See Also

engine_initialize

 

Header

silvere.h