We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.
SOLVED!

Rotating hotspot with unwanted normal hotspot

JGoode
Expert
Hello,

I have a 2D hotspot that I am using to rotate my object however there is a black base hotspot that stays in place when the rotating hotspot is moved. Is there any way to remove this? I've looked at the gdl ref guide and changed the flags but it doesn't seem to work. Here it is:
 	! Center 
 	! -------------------------------------------------------------------------------- 
 	hotspot2 0, 0, hsID, ang, 6     : hsID = hsID + 1 
 	! -------------------------------------------------------------------------------- 
 	! Base 
 	! -------------------------------------------------------------------------------- 
 	hotspot2 1.1, 0, hsID, ang, 4     : hsID = hsID + 1 
 	! -------------------------------------------------------------------------------- 
 	! Moving 
 	! -------------------------------------------------------------------------------- 
 	hotspot2 1.1 * COS(ang), 1.1 * SIN(ang), hsID, ang, 5    : hsID = hsID + 1 
Thanks!
ArchiCAD 23

Windows 10
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Lingwisyer
Guru
Adding the attribute 128 to your base hotspot does not work?

 hotspot2 1.1, 0, hsID, ang, 4 + 128     : hsID = hsID + 1 
 	 



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660

View solution in original post

4 REPLIES 4
Solution
Lingwisyer
Guru
Adding the attribute 128 to your base hotspot does not work?

 hotspot2 1.1, 0, hsID, ang, 4 + 128     : hsID = hsID + 1 
 	 



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
JGoode
Expert
No, the black hotspot remained in place.
ArchiCAD 23

Windows 10
Barry Kelly
Moderator
JGoode wrote:
No, the black hotspot remained in place.
It works fine for me just as Ling has shown.

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
JGoode
Expert
ah I found my error, turned out I had more than 1 hotspot and one of which didn't have the +128! all sorted now.

Thank you.
ArchiCAD 23

Windows 10