Sorry for asking so many questions but hopefully these will help others as well.
I am building a list of operators.
The list is large and I would like to not even show operators that would be otherwise be disabled.
I have tried to track down how the C selects which operators to enable and I can’t track it down.
I would like to either duplicate the process in python or be able to read the state of an operator prior to creating it.
Does anyone know where in the C this is done so I can duplicate it or if there is a way to test it in python.
poll() is not reliable enough.
Thanks CoDEmanX
I stuffed up and the poll() is working correctly enough for what I am doing.
Thank you for being so tolerant and giving some very useful information all the way along this little journey.
If you come to Western Australia I will buy you a beer.
The code will retain credits to you.