Jump to content

Determine Material Type From Python?


Atom

Recommended Posts

Hi All,

 

I have been trying to determine what type of material I have in any given node. For instance the difference between a Clay material and a Mantra Surface. Each node does have a .shaderType() method but they both return the same value, vopnetwork...

 

Is there any other method for distinguishing the difference between material nodes other than grunt checking for the presence or absence of parameters using TRY/EXCEPT?

 

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...