Id try and help but I'm not sure where the FileCache Sources thing
(property) is or how I make one to test it :)



Simon Reeves
London, UK
*[email protected] <[email protected]>*
*www.simonreeves.com <http://www.simonreeves.com>*
*www.analogstudio.co.uk <http://www.analogstudio.co.uk>*


On 13 February 2014 13:33, Ricky Gregory <[email protected]> wrote:

> Hi,
>
> I hope you can help,
>
> I am trying to return a list of all the FileCache Sources underneath a
> model.
>
> I found this script that works for action sources....
>
> xsi = Application
> sel = xsi.Selection
>
> model = sel(0)
> mixer = model.Mixer
>
> allShapeSourcesNameList = [str(s.FullName) for s in model.Sources if
> s.Type == "ShapeAction"]
> print allShapeSourcesNameList
>
> I have tried using model.ExternalFiles but this just returns links to
> textures etc.
>
> Any help would be greatly appreciated
>
> Thanks
>
> Ricky Gregory
> A Large Evil Corportaion
>

Reply via email to