![]()  | 
	
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
				
				how to enable node and all children
			 
			
			
			I've created a number of on-the-fly objects (e.g., parent=viz.endlayer() and child=viz.endlayer() each with their own custom vertices), some of which I then link to each other with the command: 
		
		
		
		
		
		
		
		
	
	child.parent(parent) I would then like to enable lighting for an object and all its children. I thought the command: parent.enable(viz.LIGHTING) would do this, but it didn't seem to work. So I tried: parent.enable(viz.LIGHTING,'',viz.OP_TRAVERSE) or parent.enable(viz.LIGHTING,'',viz.OP_OVERRIDE) but those also didn't work. I guess I misunderstand how to do this. Could someone please help?  | 
		
  | 
	
		
  |