Extensibility > Graphics Builder Automation Interface > Project Functions > ProjectUpdatePages

ProjectUpdatePages

Updates the pages for the current Citect SCADA project. If you encounter missing references during the update, see BrokenLinkCancelEnabled.

Syntax

ProjectUpdatePages(FastUpdate)

FastUpdate:

Set to TRUE to enable a fast update.

Return Value

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

Note: This function displays a cancel dialog. It will exit and report error code E_ABORT, if the cancel button is pressed. For details on handling return and error values, see Error Handling.

Related Functions

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

Example

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

Published June 2018