HDA : how to have button icon path be relative to HDA path?

   265   0   2
User Avatar
Member
83 posts
Joined: April 2020
Offline
so i've got an HDA with a button and it has an icon. the issue is that the icon path is hardcoded and thus it can easily be broken if you're using this HDA on a different machine as the paths aren't the same.

so i'm trying to figure out how to type in a relative path to the icon? it's in the same dir as the HDA itself so i'd think there'd be something like this that you type into the icon path, but i can't seem to find it :

HDAPATH:/purpleIcon.SVG


i've also tried embedding the icon in the HDA and used the opdef paths as well but i can't get that working either. i tried countless mutations such as :

[Image:opdef:.?purpleIcon.png]
opdef:.?purpleIcon.svg
[opdef:.?purpleIcon.svg]
#icon: opdef:.?purpleIcon.svg
[#icon: opdef:.?purpleIcon.svg]
etc etc etc

i'd prefer to use a relative path and not embed the icon in the HDA unless i must... if it's a relative path, i can update the icon and it will automatically update in any HDAs that use it which would be much easier obviously.

thanks in advance!
-seneca
Edited by indigosm - Nov. 11, 2026 17:56:12
  • Quick Links