Thread: color
View Single Post
  #4  
Old 11-12-2008, 10:16 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The following code shows how to apply a color and then restore the original:
Code:
#Set red color
model.color(viz.RED,op=viz.OP_OVERRIDE)

#Clear color attribute to restore original color
model.clearAttribute(viz.ATTR_COLOR,op=viz.OP_OVERRIDE)
Reply With Quote