View Full Version : Variable & Array


holycause
09 September 2009, 10:04 AM
Hi,
I was wondering if it is possible to find all the variables and arrays existing in a scene?

perhaps something like this

for s in shadow.classes collect (s as string)

but for the arrays and variables

denisT
09 September 2009, 02:25 PM
Hi,
I was wondering if it is possible to find all the variables and arrays existing in a scene?

perhaps something like this

for s in shadow.classes collect (s as string)

but for the arrays and variables

you can find all global variables (including arrays) using globalVars structure (check MXS Help for details)

globalVars.gather()

holycause
09 September 2009, 03:57 PM
thanks a lot. i ll read it

CGTalk Moderation
09 September 2009, 03:57 PM
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.


1