I’m working on a plugin and was able to successfuly ‘acquire’ the ChannelPort suite, but any attempt to create a channel port, read or write, results in an error: 0x5041524D, which translates to ‘PARM’ = errPlugInBadParameters.
I have been troubleshooting this for several hours so far without any luck.
Is it just that UXP plugins don’t have access to channel ports?
What I’m ultimately trying to do is write to the document directly from C++, without the added cost of communicating with UXP for every function call.
As of now, UXP hybrid plugins don’t have full access to the PIChannelPortsSuite — it’s mainly supported in classic CEP/ExtendScript environments. That error (errPlugInBadParameters) typically points to unsupported operations in UXP. Direct document writing from C++ in UXP is quite limited at the moment.