PDA

View Full Version : Querying a file name


alesmav
09-08-2003, 08:36 PM
Hi

I've just learned how to query input and output connections using 'connectionInfo'. Now I am stuck as I got to the file node (in the hypershade). I would like to query the file (it's path) that is connected to the file node.

does anybody have a clue ho to do that? See the attachement for a clarer representation of my problem

thx

ALES

alesmav
09-08-2003, 09:19 PM
Guess I was faster...

Here is the magic line:

"getAttr file1.fileTextureName;"

thnx anyway

ALES

CGTalk Moderation
01-16-2006, 02:00 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.