[Bf-python] Mesh Keys
Manuel
manuelbastioni at tin.it
Sun Jul 6 21:06:12 CEST 2003
> > PutRaw(me, "othermesh") will put it in another mesh.
> in another obj as another mesh, I mean.
Thanks!
Another little question. What's the difference between this
two method (using an object named ME:foo_a OB:foo_b) ?
I hope to remember it correctly.
1)
obj = Blender.Object.Get("foo_a")
if obj.getType() = "Mesh":
objData = obj.getData()
print objData.faces
2)
obj = Blender.Object.Get("foo_a")
if obj.getType() = "Mesh":
meName = obj.getData().name
objData = NMesh.getRaw(meName)
print objData.faces
I think the first is more "clear"...
More information about the Bf-python
mailing list