WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-01-2010, 01:47 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You could modify the code with the following:
Code:
def onQuadPick():
	textParent = quad.getParents()[0]
	viz.logNotice(textParent.getMessage())
	
vizact.onpick(quad,onQuadPick)
Reply With Quote
  #2  
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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Semi-circle array containing target and distractor objects ptjt255 Vizard 3 08-04-2009 03:09 AM
Lightwave objects rotation problem hosier Vizard 6 02-13-2009 12:04 PM
picking problem... k_iwan Vizard 2 07-27-2007 07:57 PM
Picking on-the-fly objects Jerry Vizard 1 01-19-2007 12:29 PM
Could not find plugin to load objects... halley Vizard 1 05-30-2006 11:01 AM


All times are GMT -7. The time now is 12:32 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC