Is there a way to tell if a component property has a binding assigned to it within a python script? My goal is to iterate through all the components in a view, and refresh the visibility property binding through a property change script. I’ve got it working, but I’m getting errors when it iterates over components that do not have a binding assigned to their visibility property.
call self.refreshBinding(“meta.visible”) if it throws an exception. It doesn’t have one?
the iterate around it with try, except, finally
Didn’t even cross my mind to use try/except… That works nicely! Thanks for the help!