deactivate an attribute ?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 12 December 2013   #1
deactivate an attribute ?

Hello everybody,

I'm still learning Maya, coming from Max, and while I love it, there are quite a few things that keeps me perplexed...

It's probably very simple, but how do I deactivate an attribute - in this case, a vray fur ? I don't want it when doing test renders. Is there an on/off simple button ?

thanks for your help !
Old 12 December 2013   #2
I never used V-Ray fur, but if you go to the V-Ray fur node in the Attribute Editor there's probably something there that will let you disable it.
Demo Reel : Blog : Tutorials
Old 12 December 2013   #3
there doesn't seem to be a toggle for V-Ray Fur so just hide it at render time and show it after. In the preRender MEL setting, put this:

string $sel[] = `ls -type "VRayFurPreview"`; hide $sel;

and this in the postRender MEL:

showHidden -all;
Old 12 December 2013   #4
showHidden -all;

Ha! That's a good way to have some fun.

showHidden $sel;

...less fun, but much safer

Old 12 December 2013   #5
ya, good point. I tend to never hide anything permanently but that does show hidden cameras, which is overkill.

Last edited by cgbeige : 12 December 2013 at 03:31 PM.
Old 12 December 2013   #6
Thank you guys.

I am always surprised that in such an advanced software, you have to resort to scripting for switching on/off a tool.... I guess with experience I won't see the need anymore for it
Old 12 December 2013   #7
ya, I hope that Maya gets a Houdini style bypass toggle for nodes one day.
Old 12 December 2013   #8
one might suggest there's been a method to bypass nodes since day one :

or atleast 1998 :-)

- Oh no, it's me -
Old 12 December 2013   #9
Originally Posted by ristopuukko: one might suggest there's been a method to bypass nodes since day one :

or atleast 1998 :-)


Unfortunately this doesn't work with every node.
"Even the Christmas vacation will be darkened by New Zealand scripts…"
~ J.R.R. Tolkien, The Letters of J.R.R. Tolkien, Letter 34
Old 12 December 2013   #10
I know.

This was an intended pun to every node writer out there (myself included)
to make there stuff work with maya's internal, well-structured, behaviour :-)

- Oh no, it's me -
Old 12 December 2013   #11
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 10:13 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.