APEX port promote

   962   6   1
User Avatar
Member
19 posts
Joined: Aug. 2022
Offline
Hello,

I'm trying to promote a port so it's added to the existing list of ports on the input node but instead it creates a new input node. All subsequent promotes will add to that newly created input.
Any reason for this?

cheers,


Edited by Goffer - Oct. 25, 2024 19:36:25

Attachments:
APEX_main_graph.png (74.1 KB)
script_graph.png (50.1 KB)

User Avatar
Staff
78 posts
Joined: Oct. 2023
Offline
Hi,
Can you maybe share a hip file? I cant seem to reproduce what you are getting.
The promote port will use the first parms node that it finds, Ideally the graph should only have one parms node.
Edited by william_harley - Oct. 28, 2024 11:45:47
User Avatar
Member
19 posts
Joined: Aug. 2022
Offline
Here is the example file.

Attachments:
double_parms.hip (352.9 KB)

User Avatar
Staff
78 posts
Joined: Oct. 2023
Offline
Ah, okay.
So it looks like you have two rigs. The reason for this is, You have to use the ExtractCharacterGraph node to extract the rig and it looks like you are not setting the graph_name to Base.rig, which is the default rig name.

However you dont have to name it, the autorig component already has a parameter for this, you just have to promote the graph_name to "rigname" for it to get the rig name for you.

Now you wont be creating multiple rigs and will only have one parms node

Attachments:
Screenshot 2024-10-28 203102.jpg (28.1 KB)

User Avatar
Staff
78 posts
Joined: Oct. 2023
Offline
Where can you see if you have a extra rig, you ask? Well, if you use the Rig Tree parmameter pane you can see what you have packed in the folders.

Now you can see that you have a .rig, which is a rig graph with no name and the Base.rig, which is the one you want to use.



Nice way of seeing what you have stored in your character geo.
Edited by william_harley - Oct. 28, 2024 14:41:46

Attachments:
Screenshot 2024-10-28 203639.jpg (147.1 KB)

User Avatar
Member
19 posts
Joined: Aug. 2022
Offline
So basically it's not working because there is another rig (in which case I need to specifiy) but if there was no other rig, it would work even though there is no graph_name specified?
User Avatar
Staff
78 posts
Joined: Oct. 2023
Offline
You always have to specify which rig you want to work on. So by promoting the graph_name port to "rigname" will do the trick.
  • Quick Links