#1
|
|||
|
|||
Internal nodes of loaded model files?
Is there any way to get a handle to internal nodes of loaded model files? I'd like to be able to toggle on/off various parts of my model that have named nodes - is there a way to get a handle to them using the existing Vizard python interface without writing an OSG visitor?
|
#2
|
|||
|
|||
possible solution...
This looks like what I need:
http://forum.worldviz.com/showthread...internal+nodes Figures I'd hit on the right search string after I post... |
#3
|
|||
|
|||
If all you need to do is turn the node on/off, then you can use the built-in node.setMask command to accomplish this. To turn off a named node you would set the node mask to 0:
Code:
model.setMask(0,'name') Code:
model.setMask(viz.ALL_MASK_BITS,'name') |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to input several model files and then save one output file | mspusch | Vizard | 1 | 07-15-2008 11:30 PM |