PDA

View Full Version : furDescription


arunspooja
11-16-2006, 03:02 AM
Hai GoodMorning
I have written a script for fur, in that i have connected a ramp to the furDescription nodes CustomEqualizer attribute

And i changed some values in ramp and it needs to be updated in the viewport.

In furDescription we are using Bake option to update the changes.

Now i need this bake option to be used in my script.

I tried to access that Bake, through script but i couldn't access it.

If any one knows how to use bake in script kindly reply

Thankyou

sysking
11-20-2006, 01:18 PM
I wrote some script for fur for my past project too.:)I use HfBakeMappedAttribute(string $furDescription,string $bakeAttr) to bake the attribute map,that procedure is write in scripts\fur\FurPluginCreateUI.mel

if you need to update fur state in the viewport, just setAttr again to FurDescription which attribute you want to update
setAttr -type "string" furDescription.CustomEqualizerMap "New Map Path" after the HfBakeMappedAttribute command, fur will update state immediately.

:) hope this can be helpfully.

CGTalk Moderation
11-20-2006, 01:18 PM
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.