02-20-2014 11:57 AM
Hi all,
I have this problem: I'm creating a functional global variable that creates a 3d scene with x,y,z axes, then updates it adding 110 little 3d spheres. My problem is that when I create the scene with axes the result is a scene node refnum, and so I cannot add to this scene the spheres, because their property is scene object refnum. How could I manage it?
Here's the vi. The main is called Main Test.vi
Thank you!
Luke
02-20-2014 12:21 PM
Are you sure your code isn't casting to a SceneNode somewhere. I thought it should be a SceneObject type.... Check the terminal on your global.....
02-20-2014 12:30 PM
02-20-2014 12:30 PM
Like, for example?
02-20-2014 12:56 PM
02-20-2014 01:39 PM
Yes, sure, but I have to produce a 3d picture, not a scene object! How can I do?
02-20-2014 04:34 PM
They've answered your question. You already know how to produce a 3D picture from a sceneobject (you're following the 3D solar system example vi that ships with LV, right?)
02-20-2014 05:03 PM
No, I'm not following that example.
I don't know how to solve the coercitions...
02-20-2014 05:08 PM
Instead of having a 3D picture as a terminal on your sub-VI right-click the wire from the axis and select "Create Indocator". then delete the 3D picture on your sub-VI and use the newly-created control instead.
Shane.
02-20-2014 05:11 PM
Ok, but it creates a scene object, not a 3d picture... ok, I could use only scene objects, but then I have to "convert" them into a 3d picture, and I don't know how to do this..! 🙂