Re: [Maya-Python] Ideas on how to open the Hypershader with a filter in place?

2014-01-25 Thread Marcus Ottosson
If you could find a way to select them, without the hypershade, then I would suggest opening up the hypershade with just the Work Area and hit add to graph. In Python, you could select via filter by doing something like from maya import cmds cmds.select(deselect=True) for sel in

Re: [Maya-Python] Ideas on how to open the Hypershader with a filter in place?

2014-01-25 Thread David Moulder
There is a node that all shaders are connected to defaultShaderList1. It's this node that when you type ls -mat the connections are returned from (you could connect any node to this and it would be returned as a material). It's also this node that is used to show the materials in the hypershade

Re: [Maya-Python] Ideas on how to open the Hypershader with a filter in place?

2014-01-24 Thread Christopher Stewart
VRay also has it's own toggle to disable thumbnail rendering. One that persists between scene loads. For people like me who often forget to hit a toggle before attempting to open the hypershade. On Thu, Jan 23, 2014 at 4:00 PM, Ævar Guðmundsson aevar.gudmunds...@gmail.com wrote: Good one here

Re: [Maya-Python] Ideas on how to open the Hypershader with a filter in place?

2014-01-24 Thread Geoff Harvey
It's not the thumbnails -- it's the sheer quantity of nodes! hoaf On Fri, Jan 24, 2014 at 12:16 PM, Christopher Stewart stonesoupdigi...@gmail.com wrote: VRay also has it's own toggle to disable thumbnail rendering. One that persists between scene loads. For people like me who often forget

Re: [Maya-Python] Ideas on how to open the Hypershader with a filter in place?

2014-01-24 Thread Ævar Guðmundsson
Interesting a) just how many nodes are you using? b) Are they all active and used in the same scene? c) Do you have a lot of file references, textures etc. linked in and working on a network server rather than a hard drive? d) How much memory does your machine have? I'm asking since

[Maya-Python] Ideas on how to open the Hypershader with a filter in place?

2014-01-23 Thread Geoff Harvey
I've found myself in a situation where I'm stuck with a whole lotta Maya (V-Ray) materials in a scene. Naturally, Maya grinds to a halt whenever I attempt to open the Hypershader -- too many things to display, so I'm wondering if anybody has had any luck finding a way to open the Hypershader with

Re: [Maya-Python] Ideas on how to open the Hypershader with a filter in place?

2014-01-23 Thread Ævar Guðmundsson
Good one here on how to do this http://mayastation.typepad.com/maya-station/2010/05/button-to-disable-thumbnails-update-in-hypershade-.html Mostly it's just making sure to run maya.cmds.renderThumbnail to be on or off, the thumbnail renders then get saved into .mayaSwatches on your hard drive