WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-24-2017, 10:09 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
First check to see if the intersected object is the quad, then get the name attribute you assigned to it. Does that work for you?
Code:
import viz
viz.go()

myTexQuad = viz.addTexQuad(pos=[0,1.8,2])
myTexQuad.name = "texQuadCustomName"

info = viz.intersect([0,1.8,0],[0,1.8,4])
if info.valid:
	if info.object == myTexQuad:
		print myTexQuad.name
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Determine specific quad from intersection Novakin Vizard 1 02-19-2016 02:25 AM
Attach a TexQuad to pit.osgb screen Ducky Vizard 1 01-17-2013 03:57 PM
TexQuad (viz.screen) and alpha issues kovitch Vizard 2 05-17-2012 11:28 AM
Using a texquad to cover a window Enlil Vizard 4 02-07-2012 04:13 PM
texquad shai Vizard 1 02-23-2005 02:09 PM


All times are GMT -7. The time now is 01:29 AM.


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