Eric: No you can't change the "cluster size" value at runtime. There have to be a million other ways to do the same thing. My first idea is to uses a property node for your cluster and get array of references to each control within it. Using this array, you can read the value property of each element, do your math or whatever and then reverse the process (write to the value properties) to put the new values back into your cluster.
Jason Dunham SF Industrial Software, Inc. [EMAIL PROTECTED] -----Original Message----- From: Eric Scott [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 4:00 PM To: [EMAIL PROTECTED] Subject: Programatically Changing Cluster Size Hi all, I want to programatically change the "cluster size" value in the Array-to-Cluster function (when you right click and select Cluster Size..). I have a cluster that I convert to an array, do some number manipulation, and change back to a cluster. The problem is I can't seem to find a way to automatically make the number of elements in the cluster the same number as the array it was just converted from. I want to be able to add a control (numeric) to a FP cluster and not have any wires break due to conflicting cluster sizes, nor have to go through the sub-vis and change each Array-to-Cluster function. Is this possible? BTW: I can't just start with a FP array because I need the ability to know programatically which element the user clicked on. This is easy to do with clusters. Thanks, Eric Scott
