I am not quite sure what you are after.
If you want graphical hotspots but in certain circumstances they are to be just plain hotspots then you will need to script both.
Then use an IF/THEN statements to control which hotspots you see.
If you are careful and each matching hotspot has the same ID number, you should find you can dimension your object to the hotspot and the dimension will remain when they change.
If the hotspot ID changes and you have dimensioned it - the dimension will disappear with the hotspot.
i.e. the HSID = HSID+1 routine you see between hotspots can be a bad thing if you are turning hotspots on and off and you want to dimension them.
They need a static ID that remains the same all the time.
I might be going a bit off topic there sorry, but it is important if you need to dimension your objects.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11