GefApplication.SetProjectEnvironment (method)

Sets the project environment for CimEdit/CimView.
Syntax: object.SetProjectEnvironment Project, SiteRoot
Parameters:
Project As String - The name of the default project.
SiteRoot As String - The path to locate the *.gef file and configuration for a project.
Description: Sets the project environment for CimEdit/CimView so that project configuration files can be located. This is particularly useful for CimEdit when automating the configuration of new screens that use class objects.

Examples

Sub Application_SetProjectEnvironment()
  Dim cimApp as Object
  Set cimApp as CreateObject("CimEdit")
  cimApp.SetProjectEnvironment "CIMPDEMO", "c:\CIMPLICITY\hmi\projects\cimpdemo"
End Sub