01-28-2013 02:04 AM
Hi, everyone,
I have a question about the color of mesh. I create mesh obtained from stl file and attach to a object. I have set a color to it, such as grey. And then I want to reset the color to green programmally. But I can not find the proper method to do it. So, I try to reset the mesh parameter and call set drawble method to do it. But there is an error when I run it. It seems that I can not call set drawable method twice for the same object? On the other hand, although there is an error but the color of object indeeds became the new color I want to set. Is there any suggestion? Thanks.
Hechang
01-28-2013 08:12 AM
Really urgent, thanks!
Hechang
01-29-2013 10:15 AM
Howdy,
The LabVIEW help article on Mesh parameters may prove to be helpful, you can find this here:
http://zone.ni.com/reference/en-XX/help/371361J-01/lvprop/scenemesh_set_mesh_parmeters/
Also, the example within the LabVIEW example finder named: Using Meshes.vi may prove to give you better insight as to how to manipulate mesh properties.