On the PLUGIN command, I know you can pass arguments to an external program, but is it possible to return a value(s) back to the SA Application besides having the program write out the values into a 1) database, 2) excel file (csv) or a 3) text file and having the SA app read that?
The PLUGIN function is a one-way pass of information to call an external program. The command is designed to launch any external program that will then process some form of information that either is outside the scope of Creo, or contains legacy data that is more easily accessed via the legacy program than within SmartAssembly itself.
Any program being launched by the PLUGIN function must have the ability to be self-executing. Bi-directional data sharing would require an API connection that SmartAssembly could communicate with AND would require SmartAssembly to be modified in order to carry the necessary communication protocols.