Hey Chris,

Thanks for that. I was planning on using cacheObjectsIntoFile but wasn't sure 
how to get access to/define the attributes as a variable. This looks like it 
could be exactly what I'm looking for. Will give it a butchers when I get in to 
work tomorrow.

Cheers

G


-----Original Message-----
From: [email protected] on behalf of Chris Gardner
Sent: Sun 25/11/2012 23:16
To: [email protected]
Subject: Re: Scripting access to Cache Manager
 
aaaaand i haven't really answered the question you actually asked. to make
up for it, here's a link to iceattributes in the sdk:
http://download.autodesk.com/global/docs/softimage2012/en_us/sdkguide/si_om/Geometry.ICEAttributes.html

after that, you can pass a list to cacheObjectsIntoFile.

cheers,
chrisg



On 26 November 2012 09:27, Chris Gardner <[email protected]> wrote:

> Hey Gareth,
>
> you can just use the "CacheObjectsIntoFile" command to bypass the cache
> manager and refer to attributes by name.
>
> eg:
> app.CacheObjectsIntoFile("Feather_Pointcloud", 5, startFrame, endFrame, 1,
> True, True, "PointPosition,randomPP,rotationPP,sizePP,indexPP,velocity",
> "AnimTake1", cacheDir, False)
>
> http://softimage.wiki.softimage.com/sdkdocs/CacheObjectsIntoFile.htm
>
> cheers,
> chrisg
>
>
>
>
> On 26 November 2012 06:23, Gareth Bell <[email protected]>wrote:
>
>> **
>>
>> Hey List,
>>
>> Does anyone know how I can find out all available parameters for the
>> cache manager? More specifically the attributes (or attibutes as Softimage
>> calls them!) I've looked around the SDK and online but can't seem to find
>> anything very helpful.
>>
>>
>> For example I can get them using
>>
>> Application.GetValue("WriteAnimation.CacheAttibutes" but the values
>> returned are their index rather than their name. e.g. "5:" rather than say
>> "Point Position". Ideally I'd like to be able to collect all the attributes
>> listed within the cache manager at the time of caching or be able to throw
>> all possible attributes into a PPG for user selection (like in the cache
>> manager)
>>
>> Hope that makes some sort of sense
>>
>> cheers
>>
>> g
>>
>
>

Reply via email to