Jump to content

Subnet referencing issue


Jestic

Recommended Posts

Hopefully someone could help me with an issue i'm having, it's probably quite simple and i'm just not seeing it. I come from a 3ds max background so this is all a bit new to me, my apologies if I use any wrong terminology, hopefully it's clear enough.

I have a switch sop with the following expression:

2020-09-02_09h02_14.jpg.6e03928cdd8270fa9863dc04dd0a7a87.jpg

 

Said switch sop is placed inside the following subnet: (CliffPieces_Gen_01)

2020-09-02_09h08_13.jpg.a59a61c2547b49ce9ed74cf195eaf487.jpg

Now you might already see the issue; right now it's only referencing the foreach metadata inside CliffWall_Gen_01, but not CliffWall_Gen_02 (there will be a lot more, right now it's just 2 as a proof of concept)

How can I make it so the switch sop hooks into each foreach metadata, in each subnet? (without having to make multiple copies of the switch sop)

Contents of the IHL CliffWall Gen 01 HDA, in case you need more context: 

2020-09-02_09h16_34.thumb.jpg.e69d7a92f999933650557e43388d88db.jpg

Link to comment
Share on other sites

you can pack individual inputs of your switch SOP and merge into a single geo 

and use Copy SOP with variant attribute per point which will pick the packed prim based on the attribute value, no foreach necessary

cant post files at the moment, but following posts may have some relevant info

https://forums.odforce.net/topic/45644-how-to-separate-geo-from-a-single-node/?do=findComment&comment=214038

https://forums.odforce.net/topic/45444-copy-to-points-variant-issue/?do=findComment&comment=213201

 

  • Thanks 1
Link to comment
Share on other sites

4 hours ago, anim said:

you can pack individual inputs of your switch SOP and merge into a single geo 

and use Copy SOP with variant attribute per point which will pick the packed prim based on the attribute value, no foreach necessary

cant post files at the moment, but following posts may have some relevant info

https://forums.odforce.net/topic/45644-how-to-separate-geo-from-a-single-node/?do=findComment&comment=214038

https://forums.odforce.net/topic/45444-copy-to-points-variant-issue/?do=findComment&comment=213201

 

The first link did the trick, 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...