XM Magdalena 3D print, GGeorgy (3D)
LC #42 Pipers Alley

View Full Version : [MEL] Getting Layer name from PSDFile

11-23-2011, 08:54 AM

Is there a way to find a name of chosen layers from PSDFiles?

I`d like to write a script which would take that name and then name the material and mesh accordingly.

I haven`t found any MEL commands, but I`ve found a node:

I`m a noob scripter, so I`m not sure if I can use that:)


ok, I`ve got it myself, that was super easy.

getAttr psdTextureName.layerSetName;

You can delete this thread or leave it for someone else;)

CGTalk Moderation
11-23-2011, 08:54 AM
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.