View Full Version : Digging Sub-properties?
01-09-2005, 11:40 AM
is ther a way to scan through an objects' properties and sub-properties?
sumthing like this:
for i in 1 to $.SUBPROP.count do
if $[i].SUBPROP.name == "SubpropertyName" then
--code goes here
maybe if i hav an object with multiple list controllers.. is there a way to get a certain controllers' name by scanning/digging through it? sorta like looking at an objects' track view, with everything shown and expanded, one-by-one.
or a certain materials' submaterials name or maptype...
show $ only shows the first level of an objects property...i hope theres a command to show all the sub-levels (not sure how its called).:)
hmm... looking through subanims now... i hope im in the right track...
01-10-2005, 02:14 PM
Yup, by the sounds of things subAnims are your best bet. They are tricky to navigate at times but once you get a good recursive loop going getting all of an objects preperties will be made available to you.
01-11-2005, 09:27 AM
Thank you very much Wahooney. I'll try a couple of loops when I hav time (been very busy) and try to work this out. :thumbsup:
01-20-2006, 10:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.