eduardosilva1 Posted July 1, 2015 Share Posted July 1, 2015 Is there a way to select all objects with NO material. I know its possible to select by material..but what about with NO MATERIAL? Link to comment Share on other sites More sharing options...
Corey Beaulieu Posted July 1, 2015 Share Posted July 1, 2015 In 2015 and 2016 you can filter the scene explorer for "has material" which you can then invert..... I'm sure you can do the same with the previous version scene explorers, but I have not looked to verify this. Link to comment Share on other sites More sharing options...
martinhoura Posted July 1, 2015 Share Posted July 1, 2015 let me google that for you select (for i in objects where i.material==undefined collect i) Link to comment Share on other sites More sharing options...
Rich O Posted July 16, 2015 Share Posted July 16, 2015 select (for geo in geometry where not isKindof geo TargetObject and isKindOf geo.material UndefinedClass collect geo)Make the above script into a button How this isn't just a right-click menu item in the material editor or something, I don't know, as Maya has had this feature forever. But there you go. Another Max hole that needs plugging manually! Link to comment Share on other sites More sharing options...
notamondayfan Posted July 16, 2015 Share Posted July 16, 2015 --Find Undefined Materials V1.0 --Dean Punchard 2012 --dean@arddigital.co.uk --www.arddigital.co.uk --This script will select all objects that have no material assigned to them. macroScript MICC category:"Ard Scripts" tooltip:"Find Undefined Materials" buttonText: "Ard FUM" ( select $* selected_object = $ for m in selection do ( select (for m in selected_object where ((m.material == undefined) and m.isHiddenInVpt == false) collect m ) ) ) Link to comment Share on other sites More sharing options...
notamondayfan Posted July 16, 2015 Share Posted July 16, 2015 Copy the above post into a new script, save, then run the script. Then assign the script to your UI. Dean Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now