Notifications
Clear all

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

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 Replies
2 Replies
(@denist)
Joined: 11 months ago

Posts: 0

<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

(@perfectboy)
Joined: 11 months ago

Posts: 0

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

 
$.EditbalePoly.setMaterialIndex 1 0