|
#1
|
|||
|
|||
You could modify the code with the following:
Code:
def onQuadPick(): textParent = quad.getParents()[0] viz.logNotice(textParent.getMessage()) vizact.onpick(quad,onQuadPick) |
#2
|
|||
|
|||
Thank you very much sir, my problem is solved. It was the getparents()[0] and addTexQuad(parent=text) that I was looking for.
|
|
|
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 |