Hi
Alexander,

Basically what I am trying to do is to get a list of all of the
textures in my scene.
>From time to time I see people working on scenes where they are
pulling textures from different locations. I want to make a tool that
will gather the location of every texture in my scene.

Here is a little bit of my sudo code.

def Textures( listOfTexturesFilePaths=[],  destinationDir:
    '''
    Parameter Example:
        listOfTexturesFilePaths = [ 'c:/temp/water.tga', 'c:/temp/
textures/ground.tga', 'c:/temp/textures/stuff.tga' ]
        destinationDir = 'c:/newLocation'
    '''

    #    look at import os

    pass

# Do the copy of the maya file and patch it to the new textures

Hope this makes a lot of sense and thanks for your help.

Martin

On Mar 18, 5:00 am, Alexander Mirgorodsky <[email protected]> wrote:
> Hi Martin!
> Do You  mean by word "object"
> If this is geometry object that it does not store this information.
> You can find it by going througр the chain "geometryShape -> Shading Engine
> -> Shader(Surface, Displace, Volumetric etc)
> ->Color(Float)Attribute->TextureNode->FileName").
> Can You explain the details of your problem?
>
> Alex Mirgorodsky.
> Shading TD/ Lighting TD
> Renovation Entertainment.
>
> On Fri, Mar 18, 2011 at 9:50 AM, [email protected] <
>
> [email protected]> wrote:
> > Does anyone know the name of the command or the way that I can get the
> > full path of the textures from a selected object?
>
> > Thanks,
> > -m
>
> > --
> >http://groups.google.com/group/python_inside_maya

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to