Hi there. You can certainly process the data in the way that you describe, however it cannot create duplicate graphs like you have described in your final image. To do something like that, you would need to use python.
In your CSV Input node, set the file to “Custom File Path”, and check “Has Header Row”. Add two columns to extract. One called path with a column index of 0 and another called name with a column index of 1. If you cook this node, you should now see two attributes per work-item.
Switch back to your SOP network and change the geometry file path to `@path``@name`. These will be replaced by PDG when it evaluates the network.
Back in TOPs, you now have two options. You can either connect a ROP Fetch node with the ROP Path set to the ROP in your SOP network, or attach a ROP Geometry node pointed to your null node. The ROP Geometry node is a higher-level wrapper over the traditional ROP fetch, and can support things that do not have an explicit ROP node yet. If you choose to use the ROP Geometry node, you can delete your ROP Output node in the SOP network.
Now, if you cook the TOP network, it will pass the attributes read from the CSV file into file read node, and run the ROP geometry for each row.
Edit: Attached final hip file.
Found 284 posts.
Search results Show results as topic list.
PDG/TOPs » is PDG Template SOP graph replication possible?
- johnmather
- 480 posts
- Offline
PDG/TOPs » Getting work item output within Maya server TOP node
- johnmather
- 480 posts
- Offline
Hi there.
This is expected behaviour because you are overriding the supplied reportResultData with the implementation in pdgcmd. Remove the import, and it should work as expected.
This is expected behaviour because you are overriding the supplied reportResultData with the implementation in pdgcmd. Remove the import, and it should work as expected.
PDG/TOPs » Python Node doesn't pick up wedgenum
- johnmather
- 480 posts
- Offline
The work item is already provided to you. Replace
with
Item = pdg.workItem() wdg_idx_list = pdg.intDataArray(Item, "wedgenum")
with
wdg_idx_list = pdg.intDataArray(work_item, "wedgenum")
PDG/TOPs » PDG Debugging
- johnmather
- 480 posts
- Offline
-
- Quick Links