12-17-2010 06:41 AM
Im trying to read a control property by reference from some controls that are in a cluster.
I want to cast the property's reference to a more specific class: strict numeric, but I can only find 'Numeric' which leaves me with variant data.
Any help?
Solved! Go to Solution.
12-17-2010 07:16 AM
Right-click on the control terminal, then create a reference. Wire this reference to the "target class" input of the cast node.
12-17-2010 07:24 AM - edited 12-17-2010 07:26 AM
Hello,
I think you can't (not fully sure though). What you can do is get the "Representation" property, that tells you if it's I32 or DBL or else (as an enum) and with this information you can get the value from the variant.
See :
Hope this helps
EDIT :
Oh... I see now that there IS a way, thanks for that pincpanther 😮
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
12-17-2010 07:34 AM
Well, I meant right-click on the control. Obviously, a control in a cluster has no terminal 🙂
12-19-2010 04:18 PM
Thank you both very much for helping me out!