Beispiel #1
0
	def updateAssetsLayout(self):
		sel = self.getSelItem(self.assetsTsl)
		assets = [x.nodeName() for x in tagging.ls(self.tag.get())]
		self.assetsTsl.removeAll()
		self.assetsTsl.extend(assets)
		if sel is not None and sel in assets:
			self.assetsTsl.setSelectItem(sel)
Beispiel #2
0
	def nodes(self, tag):
		return tagging.ls(tag, tr=1)
Beispiel #3
0
	def exportAll(self):
		self.exportManager.exportAll(self.tag.get(), self.moveToOrigin.get())
		numNodes = len(tagging.ls(self.tag.get(), tr=1))
		pm.mel.eval('print "Finished exporting {0} nodes."'.format(numNodes))