Jump to content

Material node reference Get Material name from Object Merge shop_materialpath


benne5

Recommended Posts

How do I get the material node to read the shop_material name from the object merge.( I don't want to directly path to the same material in the material network, but get the material name from the object merge)

image.thumb.png.c2d32e0583d328b235e05b91bb57299c.png

I've been looking into prim attribute scripts and @shopmaterialpaths, but I can't seem to get this to work. 

Any help would be much appreciated!

Link to comment
Share on other sites

13 hours ago, benne5 said:

How do I get the material node to read the shop_material name from the object merge.( I don't want to directly path to the same material in the material network, but get the material name from the object merge)

image.thumb.png.c2d32e0583d328b235e05b91bb57299c.png

I've been looking into prim attribute scripts and @shopmaterialpaths, but I can't seem to get this to work. 

Any help would be much appreciated!

You can use attribute transfer sop or attribute expression sop for this

get_mat.hipnc

  • Like 1
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...