View Single Post
  #1  
Old 04-25-2011, 11:22 AM
EnvisMJ EnvisMJ is offline
Member
 
Join Date: May 2009
Location: Purdue University, West Lafayette, Indiana
Posts: 44
Jumping to a class object from one of it's components

I've got a class, within it is a geometry file. Structured like so:

Code:
import viz

class someObject(object):
	def __init__(self):
		self.geometry = viz.add('box.ive')

newObject = someObject()
I'm selecting 'box.ive' that is part of 'newObject' with viz.pick(), but how do I jump back up to the 'newObject' that it is part of?
Reply With Quote