I can see this being as
var('PLUGINS')
or as a member of the app class
app.pluginsFolder
I need this so I can have some of my Custom OP parameters default to referencing external files that are in the same folder that the plugin/dll is in (in my case i need to reference a .xml file)
This also depends on being able to set a custom parameter mode to default to a python expression, similar to how the Noise SOP does with the translate-z parameter. I’m not sure how to do this.
which return the directory path to the .TOE file of your project. This is typically one of the ways I work with thinking about external files and realive paths.