View Single Post
  #2  
Old 09-27-2010, 11:20 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Please use the [code][/code] tags when posting sample code on the forum. This will preserve indentation which is necessary for running Python code.

In your code, you are incorrectly using the valid attribute of the node object. It is a function, so you need to call it:
Code:
if object.valid():
    print object.getPosition()
Reply With Quote