getting a node path's values with poIMeasure_handle or anything else
Hello,
Im trying to write a macro but i need to get values to the list or dictionary out of node path
I cant use hm_getvalue because there is no entity type of measures. I tried to use poIMeasure_handle GetValueList but it doesnt work. Maybe because I deidnt understand handles very well.
Can someone help me with this?
Thanks
Answers
-
Hello @Ali Arapoğlu ,
we published few weeks ago some video showing how to get a Measure identifier (through HyperGraph) so that the Measure values could be passed to TableView or a note in HyperView:
https://youtu.be/RVmYXEyl30g?si=kzcP7v25I4vZkm0C
https://youtu.be/RVmYXEyl30g?si=y8qmG0M9FCj2Maoe
In the same way, if you want to extract the values of a measure into a script, you could add a TextView client, pass to TextView the Templex code of the measure of interest and get the evaluated text with the command GetEvaluatedText from TextView handle:
https://2022.help.altair.com/2022.3/hwdesktop/hwd/topics/chapter_heads/txtitexteditor_class_r.htm
Does that help?
Best Regards,
Michael
0