Complex UV Layout in Maya
Over the last couple of years UV layout in Maya has changed for the better. In this course we're going to be taking a look at some of those changes as we UV map an entire character
# 1 26-01-2018 , 03:40 AM
Registered User
Join Date: Jan 2018
Posts: 2

Help!! Python code to get place2dTexture filename of selected objects

Working on a project to change the scale of Texture of all selected object. I want to use place2dTexture name of file to set attribute using place2dTexture.repeatU/V command

Code:
foo=cmds.ls(type="place2dTexture")
The above command works but it list all the place2dtexture file name, also those i have not selected.

what is the code to list only from the selected object?

Also suggest any other way to accomplice this task!!

Thanks in Advanceuser added image

# 2 26-01-2018 , 01:09 PM
Registered User
Join Date: Jan 2018
Posts: 2

Update

This is what i need to retrieve even if it the name changes
(for e.g place2dTexture1 is changed to Texture1)

Attached Images
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads