How set the material ID of all polygon to one value?


#1

Hi guys…

I want to set the material ID of all polygons to one value,
just like set the material ID of all polyongs to 1.


$.EditablePoly.setMaterialIndex 1

It dones’t work…


#2

<void><EditablePoly>.setMaterialIndex <index>index <DWORD>faceFlags
Set the material ID of the faces specified by the supplied flags
flag for selected faces is 0


#3

waha…thank you again…denis!
It’s sloved with your help…

 
$.EditbalePoly.setMaterialIndex 1 0
 

#4

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.