Bonjour,
What is a good way to display a variables name (the leaf) in an animation?
I have experimented with a display label animation, adjusting the format to use:
- #V: This is not good because it shows the full name, including the branch. The customer does not want the branch.
- #1 to #12: This is almost good, because I can get the leaf. But it is not good because it would be nicer if it were always the leaf, no matter how long the branch is.
Is there a good way to do this?
Thanks a lot!
Alejandro
Good day,
I can think a workaround, but I wouldn't exactly call it efficient in a sense.
First method is to make the variables through Application Architect.
As you make that, you'll need to enable the 'Use of Extended Attribute' by changing the parameter from [No] -> [Yes].
Then, define 'Text Attribute 3' by 'Expression' and use the expression '=Me.Name'.
This would net you the name of the leaf for every variable, regardless of how many branches it have.
The second method would involve editing varexp.dat.
Similar to the first method, you'll need to enable and add Extended Attributes to the already existing variables.
Only difference is you'll be doing it manually by inserting the name of the leaf into the Extended Attribute column by editing varexp.dat.
Simply make a copy of varexp.dat and change the extension to varexp.csv and edit it using Microsoft Excel.
Then, on the Mimic side, the animation Label would still be used, we'll be using #A3~#A16 (depending on which field of Extended Attribute you used).
Not sure if that's what you're looking for but it would give you the results you wanted.
Best regards,
Andy Tan
Hello Alejandro,
Not sure if using extended attribute is the best way, and if you are going to use Architecht like Andy suggested. But if you are going with Architect way, the easy way is to use Global parameter as below :
Thank you guys!
These ideas seem pretty good to me. I've relayed them to the customer 🙂
Best regards,
Alejandro


