#1
|
|||
|
|||
GEODE Names
Ok so I'm getting myself al tied in knots here
I'm trying to extract the GEODE name (as assigned in max) from all the nodes in an IVE file and reassign them them back to the objects so I can access them through viz.pick(1) like this: Code:
#Fill components list with model child nodes and then sort it components = model.getNodeNames() #components.sort print components #DEBUG #Traverse through scene graph children one by one and assign Node Names to respective child nodes for a in range(len(components)): if components[a] == "__VIZARD_NODE__": #Ignore root node break else: model.getChild(components[a]) == components[a] Code:
** ERROR: Could not find child with name 'Ceiling Tile 600 x 600' ** ERROR: Could not find child with name 'Concrete - Cast In Situ' ** ERROR: Could not find child with name 'Concrete - Cast-in-Place Concrete' Secondly all I get returned from the pick routine is the lowest transform on the Node, which in most cases is the material. I've poured over the forum and the help manual but after two days trying to sort this I've only succeeded in tying myself up in knots Confusingly (for me!) this technique worked with an OBJ file from sketchup but the files I need to work with are Revit files I'm bringing in through Max (as fbx to IVE) - Could someone please help me out of my friday night hole and suggest a way of achieving this - Thanks |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
retrieve Object names | Geoffrey | Vizard | 11 | 12-11-2009 04:26 AM |
Documentating function names | aaThomas | Vizard | 5 | 05-15-2007 09:50 AM |
changing the texture of an avatars shirt/body | bailenson | Vizard | 19 | 05-04-2006 10:00 AM |