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 tab.  So by unconnecting the vray materials from this node.  The
hypershade wont see them.   Side effect is ls -mat wont see them either.
 You could disconnect them from this node and connect them to a dummy node.
 Or just scan nodes of type and reconnect them.




On Sat, Jan 25, 2014 at 9:09 AM, Marcus Ottosson <konstrukt...@gmail.com>wrote:

> 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 cmds.ls(selection=True):
>     if 'my_keyword' in sel:
>         cmds.select(sel)
>
>
> On 24 January 2014 20:32, Ævar Guðmundsson <aevar.gudmunds...@gmail.com>wrote:
>
>>
>> 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 it does take a considerable amount of non-thumbnail
>> nodes to slow down the hypershade but to date I've never seen a scene which
>> requires enough nodes so the editor itself struggles to list them.... ( I'd
>> guess running a few optimisation tricks on the scene, splitting the shaders
>> into sets and selectively load them into the scene, or even do you shader
>> assignment so that it dynamically imports the shaders at render time.
>>  Those would be easy ones to lighten up the scene, but hard to say for sure
>> without an example or a node reference number)
>>
>>
>> On 24 Jan 2014, at 20:17, Geoff Harvey <hoafal...@gmail.com> wrote:
>>
>> 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 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 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
>>> >
>>> >   Hope this helps
>>> >
>>> >
>>> > On 23 Jan 2014, at 20:20, Geoff Harvey <hoafal...@gmail.com> wrote:
>>> >
>>> > 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 a filter already in place.
>>> >
>>> > Anybody have any ideas?
>>> >
>>> > Thanks,
>>> >
>>> > hoaf
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> Groups
>>> > "Python Programming for Autodesk Maya" group.
>>> > To unsubscribe from this group and stop receiving emails from it, send
>>> an
>>> > email to python_inside_maya+unsubscr...@googlegroups.com.
>>> > To view this discussion on the web visit
>>> >
>>> https://groups.google.com/d/msgid/python_inside_maya/CAH5d3sAhh%3DRKV192r9ttAB%3D97qtKJt5iD7DDhLPDYYbTM%3DZ8dg%40mail.gmail.com
>>> .
>>> > For more options, visit https://groups.google.com/groups/opt_out.
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> Groups
>>> > "Python Programming for Autodesk Maya" group.
>>> > To unsubscribe from this group and stop receiving emails from it, send
>>> an
>>> > email to python_inside_maya+unsubscr...@googlegroups.com.
>>> > To view this discussion on the web visit
>>> >
>>> https://groups.google.com/d/msgid/python_inside_maya/2D566858-1D3C-4557-AA5C-E28E4F508B7B%40gmail.com
>>> .
>>> >
>>> > For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>> --
>>> ----
>>> Christopher Stewart
>>> Vancouver, BC
>>> 3D TD | VFX  IT
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Python Programming for Autodesk Maya" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to python_inside_maya+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/python_inside_maya/CAGnq0iDNDmOTsRkSN%2Bgf3gquQzbuw1v-mpa0unzvW-GJMNwMoQ%40mail.gmail.com
>>> .
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to python_inside_maya+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/CAH5d3sB00XtgyXQ%3D_a_iw_5QF3pmEqmMzpdUfK%3DPx4yG2rgm5g%40mail.gmail.com
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to python_inside_maya+unsubscr...@googlegroups.com.
>>  To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/65656CBA-A51E-4815-ADC4-344512008BA4%40gmail.com
>> .
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> *Marcus Ottosson*
> konstrukt...@gmail.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBPa_AzR50Nk7FxC26ypP9AoCv8KgFX9cf17oFxjZgXMg%40mail.gmail.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
*David Moulder*
Technical Animator / Artist
squis...@gmail.com
*Professional Profile <http://uk.linkedin.com/pub/david-moulder/1/b12/b5a>*

Mobile: +44 (0)7814033242
See who we know in
common<http://www.linkedin.com/e/wwk/5748982/?hs=false&tok=3tztwkse1silw1>Want
a signature like
this?<http://www.linkedin.com/e/sig/5748982/?hs=false&tok=3pwLU9-mBsilw1>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CABD4PkTVit4CYLqk_s8KhmPBQu1J%3DWAuTfSESzSeMJ%3Dt6yEfWg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to