Inheritance/adding attributes
What would be the simplest way to create a child class in vizard that inherits from the VizNode class, or a way to add a new attribute to a member of the class?
EX. object = viz.add('box.wrl') object.attribute = 5 print object.attribute |
Take a look at Farshizzo's example in the following thread.
http://forum.worldviz.com/showthread.php?t=1300 |
All times are GMT -7. The time now is 01:44 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC