Custom OP/Plugins Folder Path - built-in python variable

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.

the project class contains

project.folder

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.

I’d take a look at the tdu class:
docs.derivative.ca/Tdu_Module

and the project class:
docs.derivative.ca/Project_Class

OP is talking about the folder of the new custom OPs , which is not the same as where the .toe file is located

Ahhh!

Got it, got it. Apologies.