Select all materials in model
-
- Moderator
- Posts: 754
- Joined: 25 Nov 2009, 01:41
- Contact:
Re: Select all materials in model
Yup. It's the only way you're going to learn.
Re: Select all materials in model
Code: Select all
oRoot = ActiveSceneRoot;
SetValue oChild = oRoot.FindChildren;
SetValue oModel = oChild.Filter('Model1')
oModel = Shader.ProgID
It's not complete, what I could scratch together. The purpose of the script is to select all the materials within a model, that don't contain a specific node within it's material, which could be inserted in the code or a prompt could ask for the node name or ProgID to search for.
Who is online
Users browsing this forum: No registered users and 22 guests