Isotropix Forums

List all output and input connections of a node

Clarisse Scripting related topics

List all output and input connections of a node

Unread postby pizzaia » Wed Feb 19, 2020 11:39 pm

Hi everyone,

I want to swap mapfiles for streamMapfiles in my shading network via python.
I have a dictionary of all myselected mapFiles and I can create a set of streamMapfiles next to them in their context, but now I need to basically swap all the connections from one to the other, and I cant seem to find a procedure to list all the input and output connections of a node. The idea is that independently of what they are connected to I can reconnect to the new node.

Any help on how to get those values to swap out a node with another one?

cheers!

Gianluca
pizzaia
 
Posts: 4
Joined: Thu Sep 29, 2016 11:50 am
Location: Vancouver

Re: List all output and input connections of a node

Unread postby mdkai » Thu Feb 20, 2020 9:08 am

Hi
Did you had a look a yaniks survival kit ? I think he also provided a function to swap those in and out..
https://github.com/aydinyanik/clarisse_survival_kit

Besides join discord and ask there as well, you get answers much quicker and often in-depth tips from Isotropix staff as well

Cheers
Kai
Join us at the Discord https://discord.gg/G5cJj9A
mdkai
 
Posts: 325
Joined: Tue Oct 07, 2014 7:24 pm


Return to Scripting