Question
Check selection type with python
Hi,
let's say I make a selection with a python function like:
def Select(D):
ctx = sd.getContext()
app = ctx.getSDApplication()
uiMgr = app.getQtForPythonUIMgr()
selection = uiMgr.getCurrentGraphSelection()
return selection
How do I check the type of this selection??
I use to do it with type() but now I can't.. I check the sdtype docs but I didn't understand the use of it,
I just want to get a bool value to do an if (check if is array):
