01-12-2021 07:47 AM
I want to do this:
But it works only if the referenced cluster doesn't contain a boolean with latching action.
Is there a workaround to get cluster info from a reference to a cluster that does have a a boolean with latching action?
01-12-2021 07:53 AM
@paul_cardinale wrote:
I want to do this:
But it works only if the referenced cluster doesn't contain a boolean with latching action.
Is there a workaround to get cluster info from a reference to a cluster that does have a a boolean with latching action?
It seems to work if you use the Value property node instead of Get refnum, with the caveat that it's slow.
01-12-2021 12:06 PM
@Yamaeda wrote:
@paul_cardinale wrote:
I want to do this:
But it works only if the referenced cluster doesn't contain a boolean with latching action.
Is there a workaround to get cluster info from a reference to a cluster that does have a a boolean with latching action?
It seems to work if you use the Value property node instead of Get refnum, with the caveat that it's slow.
Unfortunately the won't work for me because the value of the ref is 0 (not a ref). I'm trying to extract type information from a refnum inside a variant when the refnum is invalid.
01-12-2021 04:20 PM
To get the data type information you either need a strict reference (not possible with a latching boolean) or a valid refnum so you can parse the information from a different property such as Value or Terminal.Data Type. In this case it looks like you are trying to get data that simply isn't there.
I understand the siren song, but Clusters are ill-equipped as UI elements, and latching is definitely a UI functionality.