WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-25-2011, 12:22 PM
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
Reply

Tags
child, class, classes, objects, parent

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
How to render a texture of the transparent object and then blur it whj Vizard 1 09-25-2012 04:15 PM
retrieve Object names Geoffrey Vizard 11 12-11-2009 05:26 AM
Making an object to appear after other object done animating jaylocco Vizard 2 07-13-2009 07:17 PM
Pick porblem with arrays shivanangel Vizard 3 08-27-2007 11:10 AM
rotate to object jargon Vizard 1 08-08-2005 01:20 PM


All times are GMT -7. The time now is 08:44 PM.


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