[SOLVED]Reference path

   1277   4   1
User Avatar
Member
68 posts
Joined: Aug. 2021
Offline
Hello everybody

I tried everything but don't find the solution...

I want to reference the path of my sop import into the subnet/sopnet/objectmerge with an expression, so whenever sopimport i connect to the subnet, it will automatically be reference in the object merge.

Is it possible ?
Edited by philippepetitpas - Dec. 13, 2021 09:53:42

Attachments:
Capture d’écran 2021-12-13 124943.png (183.6 KB)

User Avatar
Member
143 posts
Joined: Sept. 2017
Offline
You can right-click on your Sop path fiel, choose Copy, then right click on your objectmerge path parameter and choose "Paste relative reference".

That should do the trick.

Cheers,
Ivan
User Avatar
Member
68 posts
Joined: Aug. 2021
Offline
Hey

Yes I already know that (and that is what I dit in the screeenshot exemple), but like i said, i want this path to be link to the first input of the subnet, and not to a sopimport in particular.

I've found the solution, in my case it was
`chs(opinputpath("../../",0)/soppath)`
User Avatar
Member
143 posts
Joined: Sept. 2017
Offline
Ah, sorry, didn´t get it the first time.
Might not be axactly what you want, but try using a SOP Modify node instead of a SOPnet. You can connect the SOP Modify node to the fisrt inpout inside the SUBNET.
Then, inside the SOP Modify, you still need to unpack the USD to Polygons.

In this file, I created a box inside a SOP cReate node, then loaded the box theough the first input of the SUBNET into the SOP Modify node and extruded its prims individually.

Cheers,
Ivan
Edited by ivanmalek - Dec. 13, 2021 10:09:44

Attachments:
Unbenannt.JPG (160.2 KB)

User Avatar
Member
68 posts
Joined: Aug. 2021
Offline
Thanks

yeah i know and use the sop modifiy node, but it was a simulation to modify the componentgeometry node
  • Quick Links