Extensibility > Graphics Builder Automation Interface > Project Functions > ProjectCompile

ProjectCompile

This function starts the Citect SCADA compiler with the current project. There are currently no functions to check errors or trigger the compiler's cancel function.

Syntax

ProjectCompile

Return Value

0 (zero) if successful, otherwise an error is returned.

Note: For details on handling return and error values, see Error Handling.

Related Functions

ProjectSelect, ProjectSelected, ProjectFirst, ProjectNext, ProjectFirstInclude, ProjectNextInclude, ProjectUpgrade, ProjectUpgradeAll, ProjectPackLibraries, ProjectUpdatePages, ProjectPackDatabase

Example

GraphicsBuilder.ProjectCompile
If Err.Number <> 0 Then
Debug.Print "Error in ProjectCompile"
Err.Clear
Else
Debug.Print "ProjectCompile OK"
End If

Published June 2018