Expose HDA version in HDA parameters

   240   0   1
User Avatar
Member
1 posts
Joined: March 2024
Offline
Hi
I'm trying to create a line of text on an HDA that would show the current HDA version but I can't wrap my head around it. :/ It's useful when exporting HDA to a different software that only shows the HDA name.
Can I expose the HDA version as text (or other) on HDA parameters?

I'm not good at Python, so anything VEX or other would be amazing!

I also tried doing it in a Wrangle but got stuck. I know how to get the version from a file name, but I'm not sure how to bring in the HDA path to the Wrangle:

//call HDA path and extract the hda name separated by "/" and then get the version by using "." separator
s@hdaPath = 'C:/Users/PCCOMP~1/Desktop/HDA_library/Aurora/sop_beta.aurora_c3.2.0.hdanc';
s@hdaName = split(s@hdaPath, "/");
s@hdaVersion = split(s@hdaName, ".");
  • Quick Links