AVEVA E3D DESIGN –  How to use DLL function directly as PML command| Expert Guide

To call a function compiled in a DLL using a PML command — for example AVEVA.View.ZoomTo.Selection — here is some useful information:

The native object !!cmsys can execute code provided as a string.

Therefore, the simplest approach is to run the command using the following format:
!!cmsys.executeCommand(‘AVEVA.View.ZoomTo.Selection’)

Scroll to Top