galagast
01-09-2005, 10: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...
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...
