View Single Post
Old 07-24-2017, 10:09 PM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,462
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?
import viz

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

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