Right now I iterate over all nodes and I try to convert them to triangular meshes using something like:
try:
obj_state = node.EvalWorldState()
obj = obj_state.Getobj()
tri_obj = obj.AsTriObject()
except Exception as e:
log("dump_geometry: geometry not available")
return None
tri_mesh = tri_obj.GetMesh()
Right now I didn’t care about file-format optimization so I was dumping the same topological information over and over without distinguishing whether the nodes were copied/instantiated or referenced. Well, that’s my question, is there any way to check which type of node (copy/instance/reference) I’m trying to dump?
Thanks in advance.



