How To add selection set to Vray ExtarTex includelist


#1

Hey , i would like to know please how can i add selection set to the include list if vray extra tex .

im getting to the Element but i dont know how to add the selection set

re=maxOps.getCurRenderElementMgr()
showproperties (re.getRenderElement 2)

.includeList :

thanks,
D


#2

Here is a short example:

selset = selectionSets["selset01"]
rmgr = maxOps.getCurRenderElementMgr()
elem = rmgr.getrenderelement 0
elem.includeList = selset

You can get the selectionsets via name or index. Is that of any use? Keeping it short for now, can add more detail or explanation if required.


#3

Works like Magic .

Thank you very much for the help :slight_smile: