Sorting out some name space conflicts on a current project, and looking for a way to get a list of all the global op shortcuts being used.
It’d be killer if the op find DAT had a flag to display the Global Op names currently being used in a project.
greg
2
Does this give you what you want in the OP Find DAT callbacks (Filter the COMPs only):
[code]def onInitGetColumnNames(dat):
return [‘shorties’]
def onFindOPGetValues(dat, curOp, row):
return [curOp.par.opshortcut]
def onFindOPGetInclude(dat, curOp, row):
return curOp.par.opshortcut != ‘’'[/code]
rob
3
You can also enumerate them all directly:
Cheers
derivative.ca/wiki099/index. … ss#Members
To list all Global OP Shortcuts:
for x in op:
print(x)
raganmd
4
Ahh! Brilliant on both counts gents! Thank you, Thank you, Thank you!