cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
JGoode
Expert

Rotating hotspot with unwanted normal hotspot

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 27

Windows 10
1 Solution

Accepted Solutions
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-29 AUS 3200Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660

Go to post

4 Replies 4
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-29 AUS 3200Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660
JGoode
Expert
No, the black hotspot remained in place.
ArchiCAD 27

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 27

Windows 10

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!