Home Technical Talk
The BRAWL² Tournament Challenge has been announced!

It starts May 12, and ends Sept 12. Let's see what you got!

https://polycount.com/discussion/237047/the-brawl²-tournament

[Maxscript] Get an array or list of properties

polycounter lvl 9
Offline / Send Message
Dickie polycounter lvl 9
I'm aware of the the show() and showProperties() functions in maxscript but as far as I know this information is only printable and not usable within the script. What I need is a way of looping through the properties of object/material/render and collecting the setting of each one into an array, is there any way to go about doing this?

for example
  1. fn CollectProperties objToCollect =
  2. (
  3. props = showProperties objToCollect
  4. for i in props do
  5. (
  6. -- do something with properties
  7. )
  8. )
  9.  
  10. CollectProperties (renderers.current)

It'd be super useful if there was something like renders.current.properties that I'm just missing

Replies

Sign In or Register to comment.