def onSnippetListSelect(self, snippetName: str): relPath = self.currentSnippetTable[snippetName, 'relPath'] if not relPath: return snippet = self.ownerComp.par.Snippetsroot.eval().op(relPath) self._updateSnippetCooking(snippet) pane = navigateTo(snippet, name='raytkSnippet', popup=False, goInto=True) self._focusSnippetNetworkBoxes(snippet, pane)
def showInEditor(self, popup=False): rop = self.ROP if rop: navigateTo(rop, goInto=True, popup=popup)
def showInEditor(): comp = iop.loader.Component if not comp: return navigateTo(comp, goInto=True)
def OpenToolkitNetwork(): navigateTo(RaytkContext().toolkit(), name='raytkBuildNetwork', popup=True, goInto=True)
def NavigateTo(comp: 'COMP'): navigateTo(comp)