View Single Post
  #6  
Old 02-05-2009, 01:11 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Here are two options. For your code without the group node you could replace
Code:
vizact.onkeydown(' ',bar2.visible,viz.TOGGLE)
with something like
Code:
vizact.onkeydown('1',bar2.disable,viz.RENDERING)
vizact.onkeydown('2',bar2.enable,viz.RENDERING)
the third bar will continue to be rendered whether or not the second one is

in the code with group node and the link you could add
Code:
link.setSrcFlag(viz.ABS_GLOBAL)
after creating the link. The third bar will be in the correct position and you can toggle the visibility of the second bar.
Reply With Quote