How to Create a PrcsApi Object

After you've imported the PrcsApi class, you instantiate an object of that class using the constructor for the class and the Create function.

The following example creates a new instance of the PrcsApi class, as the variable &api, with local scope:

import PT_PRCS:API:*;

Local PrcsApi &api = create PrcsApi();