Quantcast
Channel: Grasshopper Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 3666

How to differ a (Clustered) GH_ScriptComponent's InParam from a ClusterInput?

$
0
0

@RIL wrote:

OK, so I’m manipulating input sliders on my script component, but in order to test the component I need to connect several components, and thus for every modification in the C# script I have to replace all chained script components (and wire up some 20 in + out ports per component). So I placed my script component in a cluster instead (all instances would automagically uppdate when modifying the original component).

But, and here’s my problem, since my component also manipulate input sliders, the clustered component no longer connects directly to the sliders, instead it connects via ClusterInputs to the sliders.

Q: So how do I get code access to the sliders from my clustered component through the ClusterInputs? (Component–>ClusterInput–>NumberSlider)

The picture (4 cluster instances so far, more to come) indicates why I would like to avoid replacing the auto-updating cluster-component instances with manual copies of the (4) script components (given all the wireing that comes with replacing them after each code change).

// Rolf

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 3666

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>