View Single Post
  #1  
Old 06-10-2009, 12:55 PM
EnvisMJ EnvisMJ is offline
Member
 
Join Date: May 2009
Location: Purdue University, West Lafayette, Indiana
Posts: 44
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
Reply With Quote