Renato Lima
09-21-2010, 07:59 PM
I created a plane on 3DS, applied a texture and exported it to .IVE
Now I am trying to get the NAME of this object (wall01) through pick(). However I get either "Material #39" on objects with texture or "Wall01-GEODE" for objects without texture. How do I get "wall01" for an object with texture? And how can I make the export not generate these -GEODE things?
Code:
object = viz.pick(1, viz.WORLD)
print object.name
I tried pretty much everything I could find on the forum, and I still have no clue as to how get "wall01" as a return to pick(). Any ideas???
Now I am trying to get the NAME of this object (wall01) through pick(). However I get either "Material #39" on objects with texture or "Wall01-GEODE" for objects without texture. How do I get "wall01" for an object with texture? And how can I make the export not generate these -GEODE things?
Code:
object = viz.pick(1, viz.WORLD)
print object.name
I tried pretty much everything I could find on the forum, and I still have no clue as to how get "wall01" as a return to pick(). Any ideas???