cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Design forum

Rotating hotspot with unwanted normal hotspot

JGoode
Advocate
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
4 REPLIES 4

Solution
Lingwisyer
Legend
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
Win10 | R5 2600 | 16GB | GTX1660 

JGoode
Advocate
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 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

JGoode
Advocate
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

Didn't find the answer? Start a new discussion

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!