View Single Post
  #5  
Old 12-01-2010, 03:07 PM
Salvar Salvar is offline
Member
 
Join Date: Nov 2010
Posts: 20
Quote:
Originally Posted by Jeff View Post
You could modify the code with the following:
Code:
def onQuadPick():
	textParent = quad.getParents()[0]
	viz.logNotice(textParent.getMessage())
	
vizact.onpick(quad,onQuadPick)
Thank you very much sir, my problem is solved. It was the getparents()[0] and addTexQuad(parent=text) that I was looking for.
Reply With Quote