View Single Post
  #3  
Old 03-09-2006, 11:41 AM
hotspur1 hotspur1 is offline
Member
 
Join Date: Mar 2003
Location: Cambridge, MA
Posts: 54
Hmmm, I tried the following code, but, after the objects load, I get the following output in the output window

--------------------------

Loading File: mplm.wrl
Loading File: truss2.wrl
** Load Time: 1.29 seconds
TypeError: an integer is required


-----------------------

import viz

viz.go()

mplm = viz.add('mplm.wrl')
truss = viz.add('truss2.wrl')

viz.clustermask(viz.CLIENT1)
viz.windowsize(320,240)
##viz.clusteroffset(30,0,0)
viewpoint = viz.add(viz.VIEWPOINT)
#viewpoint.rotate(0,1,0,20)
viewpoint.translate(0,0,-4)

viz.clustermask(viz.ALLCLIENTS)


viz.framerate()
Reply With Quote