Message 1 of 9
How to select multiple polygons by material ID
Not applicable
05-17-2012
08:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello-
I am wondering if anyone knows how I can simplify a process.
I have a model with duplicate materials in multi/sub-object material, but the materials have different names.
What I want to do is select those Material IDs and assign them the same ID.
From the Listener:
$.EditablePoly.selectByMaterial 7
$.EditablePoly.setMaterialIndex 5
$.EditablePoly.selectByMaterial 71
$.EditablePoly.setMaterialIndex 5
$.EditablePoly.selectByMaterial 72
$.EditablePoly.setMaterialIndex 5
$.EditablePoly.selectByMaterial 73
$.EditablePoly.setMaterialIndex 5
$.EditablePoly.selectByMaterial 74
$.EditablePoly.setMaterialIndex 5
$.EditablePoly.selectByMaterial 75
$.EditablePoly.setMaterialIndex 5
If I know the IDs I want to change, can I input them all at once (i.e 80, 81, 82, 83, 84, etc...)?
Thanks for the help!
I am wondering if anyone knows how I can simplify a process.
I have a model with duplicate materials in multi/sub-object material, but the materials have different names.
What I want to do is select those Material IDs and assign them the same ID.
From the Listener:
$.EditablePoly.selectByMaterial 7
$.EditablePoly.setMaterialIndex 5
$.EditablePoly.selectByMaterial 71
$.EditablePoly.setMaterialIndex 5
$.EditablePoly.selectByMaterial 72
$.EditablePoly.setMaterialIndex 5
$.EditablePoly.selectByMaterial 73
$.EditablePoly.setMaterialIndex 5
$.EditablePoly.selectByMaterial 74
$.EditablePoly.setMaterialIndex 5
$.EditablePoly.selectByMaterial 75
$.EditablePoly.setMaterialIndex 5
If I know the IDs I want to change, can I input them all at once (i.e 80, 81, 82, 83, 84, etc...)?
Thanks for the help!