A big thanks to Grant from RPManager for this: (copied from rpmanager forums)
First, add a single object to a capture set. Define the properties for this object as if it is your 'capture set global settings' control, and per pass setup what you want per pass for the settings of all objects you want to control.
Then, deselect your control object, and select all the objects you want controlled and then last of all select the control object again (important you select it last), and then evaluate this in a maxscript window:
Then restore you passes and marvel that all the objects properties are set (I tried it on some spheres, with box mode and RPMMaterial, so maybe try that first in case it doesn't work in other cases. I suspect it will though)
This works for per object RPMMaterial too, if you have RPMMaterial captured, and each object has a different rpmmaterial, each will have its own mat restored.
To update the state of the captured properties, simply edit that single objects properties.
- for i in objects where classof i == rpmpropholder and i.node == selection[selection.count] do
- sels = selection as array
- sels.count = sels.count - 1
- i.nodearray = sels
You need to login to post a comment.