Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Diagrams

Sample Usage (Export to SVG)

  • Last UpdatedMar 27, 2024
  • 1 minute read

import 'Aveva.Diagrams'

using namespace 'Aveva.Diagrams'

!tool = object PMLDiagrams()

!tool. ExportToSVG('/MainRoom')

The input parameter is a diagram name. In case of any exporting error it throws a PMLException.

There is also a global PML function available which uses the PMLDiagrams object and the method mentioned above. It handles any PMLExceptions by printing the error message in the console window. This PML function returns the Boolean value True if export has been completed successfully, or False in case of any errors.

The sample usage might look like below:

!!ExportToSVG('/MainRoom')

TitleResults for “How to create a CRG?”Also Available in