ScriptSpot home

Forum topic · Scripts Wanted

Select all vray proxy, switch preview mode and so one...

By tomastnt · 2010-10-25

Description

Hi. Is there any script for select every vray proxys? And script whitch knows switch on selected proxys bounding box or preview?
THX. I know, there is cript by Lele to switch every proxies to bounding box, but I would like to switch just selected...just better work with vray proxys...

Comments (5)
Waseem Dabbas

Thanks alot.. It helps, and save time

Waseem Dabbas

thank you

You save my time, thank you so much

Graph

for o in selection where

for o in selection where classOf o == VRayProxy do o.display = 0 

0 = bounding box
1 = preview from file
2 = point
3 = preview from file (faces)

and selection:

select (for o in selection where classOf o == VRayProxy collect o)

and now both together:

select (for o in selection where classOf o == VRayProxy collect o.display = 0; o) 

edit:dammit beat me to it :-P

Budi Gunawan

Hi tomastnt.

please check my attachment bellow ..

Attachments