Setting Trashad on multiple objects

I have imported a model with over 900 objects, many of which occlude others. I want to be able to choose an arbitrary subset of these, make them transparent, and have the previously occluded objects appear correctly. Is there any way to do this without manually selecting each of the 900 objects and setting their Trashad button separately? I thought I might be able to do it via a python script, but I can’t find out how to access that property via the python API :frowning:

Any suggestions?

Thanks,

Will

Ok, after a bit more googling and searching the CVS, it turns out that the TraShad property can be set using the TRANSPSHADOW mode for the material from python, so I can at least solve this with a script. It does seem like something you ought to be able to do from the gui on a group of selected objects though…

Will