Message 1 of 3
selecting nodes in the Slate Material Editor node view window

Not applicable
09-18-2012
02:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am getting materials hanging around in my scene that aren't attached to any geometry or taking a slot in the material library. The only way to see them is in the node view window in the Slate Material Editor, and that seems to be the only way to delete them, too. I would love to be able to script this, but I can't seem to find any way to SELECT the nodes...
So I can get the name of the view window:
viewWindowObj = sme.GetView 1
And once I select the nodes in the view window, I can delete them:
viewWindowObj.deleteSelection()
BUT I can't seem to find any way in the interface / methods to actually SELECT the nodes themselves for deletion, since the only way to delete the nodes seems to be by selection...
Any help?
Version: 3ds Max 2011 Win 64-bit
Thanks,B
PS - This material is not visible using sceneMaterials or meditMaterials, since it is not using a slot in the material library. The only reason I even knew it was there is that the texture path was bad, and I got a warning on file open.
So I can get the name of the view window:
viewWindowObj = sme.GetView 1
And once I select the nodes in the view window, I can delete them:
viewWindowObj.deleteSelection()
BUT I can't seem to find any way in the interface / methods to actually SELECT the nodes themselves for deletion, since the only way to delete the nodes seems to be by selection...
Any help?
Version: 3ds Max 2011 Win 64-bit
Thanks,B
PS - This material is not visible using sceneMaterials or meditMaterials, since it is not using a slot in the material library. The only reason I even knew it was there is that the texture path was bad, and I got a warning on file open.