Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Check if input node has connection

New Here ,
Oct 30, 2022 Oct 30, 2022

Hi

 

I have a custom graph with some input nodes and I'm trying to find a way to determine if the parent graph has connected to the specific input node, how can i check using a function or something if a connection has been made to the relevant input? The FX Map seems to be able to do this as it adds additional input when i connect to the available input? Any help would be greatly appreciated

 

 thanks

TOPICS
How to , Scripting , Substance Graph
164
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 09, 2022 Nov 09, 2022
LATEST

Why do you think you need this?  As far as I can tell this is beyond the scope of what you'd do in Designer; it doesn't matter if there is any input, you simply process whatever data there is however you want to, then let the end user deal with the data being present or not.

 

It's a procedural environment, ergo you set up procedures to "do" stuff but without bothering yourself if something is actually coming in. You mention FX Map but it doesn't do this either: it's not FX Map but Designer itself which notices multiple inputs and then based on that applies differences to the node and some of its properties.

 

See, if you would apply a function to the image selector within FX Map then all it can do is ... select a specific image, but the function will have no knowledge what so ever as to how many inputs are available. Like I said: this is beyond the scope of Designer.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines