Object properties script

Hi all!

Is there any way to call externally those two functions ? I found a lot of scripts to change vray render, materials and general parameters but i dunno how to change object params.:sweat_smile:

thanx,
paro


for obj in selection do
(
   if (obj != undefined) then
   (
	print (obj.name) (getUserPropBuffer obj)
   )
)

That should print out any of the object properties that are on the selected object.. it’ll tell you what the stuff is named at least :slight_smile:

I’ve got a couple of scripts to export/save these into a preset like thing, but i haven’t quite finished them off enough to be usable by everyone.. (mostly due to the mess of having the object props stored by name or node id… and the limitations of that) someday I’ll do that last bit of work and feed them to the public :wink: meanwhile, ask questions!

pretty impresive ! thanx a lot !!

:o

Would you share the script to take a look or maybe to help a bit on it ?
how would you manage to change these params of multiple selected objects?


VRay_GI_Generate = True
VRay_GI_Receive = True
VRay_GI_Multipier = 1,000000

best regards,
Paro

anyone?

vlado: is there any way to call it without having the obj props stored by node id as mentioned dbuchhofer?

thanks a lot.
Paro
,


http://www.buchhofer.com/AEI\_SceneSetup\_v0.05.ms

Heres the script as is.. its functional, it will export out settings to a maxscript file, currently only supporting Scanline and Vray..

The main problems I have with it, is that the Object/Light portions are highly dependant on scene objects.. meaning theres no check as yet to adjust for an object that was deleted from the scene, but is still in the script…

That said, it comes in very handy with the network render ‘script’ option, either with the command line renderer for batching multiple scenes out of 1 file, or via the advanced thing in the render dialog..

it should be fairly self explanatory, please post any bugs if you notice them :slight_smile:

Edit: linked it to the newest version of the script.. someday i’ll make a page eh?