WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Jumping to a class object from one of it's components (https://forum.worldviz.com/showthread.php?t=3723)

EnvisMJ 04-25-2011 11:22 AM

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?


All times are GMT -7. The time now is 04:38 AM.

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