Пример #1
0
	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)
Пример #2
0
 def showInEditor(self, popup=False):
     rop = self.ROP
     if rop:
         navigateTo(rop, goInto=True, popup=popup)
Пример #3
0
	def showInEditor():
		comp = iop.loader.Component
		if not comp:
			return
		navigateTo(comp, goInto=True)
Пример #4
0
 def OpenToolkitNetwork():
     navigateTo(RaytkContext().toolkit(),
                name='raytkBuildNetwork',
                popup=True,
                goInto=True)
Пример #5
0
 def NavigateTo(comp: 'COMP'):
     navigateTo(comp)