Get part in advanced expression function while defining conditional rules on option pool
I would like to get the WTPart or the Context in which the WTPart is while setting the option filters in Structure Manager. I have Platform Structures module installed and I can call a function in the conditional rules of an option pool.
In the help I found this info, however I would want to pass some information to my custom function about the part on which this option filter is applied. Is there some helper service that I could use to get the current Part from which I'm initiating the option filter?