GEODE Names
Ok so I'm getting myself al tied in knots here :o
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 Code:
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 :confused: 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 :cool: |
By the way 3d files are chosen by the user at runtime which is why I'm struggling to get a handle on the geode name :eek:
I've a feeling this is probably a lot simpler than I'm imagining it to be (these things quite often are :D) |
Solved
Just in case someone else has a mental blockage over this (like me :D) and just to close the thread,
I solved this by creating a dictionary that mapped the node id to the geode name, then its a simple matter of indexing to retrieve the GEODE name - Code:
#Fill components list with model child nodes and then sort it |
All times are GMT -7. The time now is 07:11 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC