cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Starting August 6, 2024, TLS 1.2 will be the minimum required protocol version for Graphisoft products and services that require an online connection. Learn more…
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Movable hotspot problems

Anonymous
Not applicable
Hi!

What is wrong with this free moving hotspot?

HOTSPOT2 koord[1], 0, idp, koord[2], 1+128
HOTSPOT2 koord[1], 0, idp+1, koord[2], 3
HOTSPOT2 koord[1], koord[2], idp+2, koord[2], 2
HOTSPOT2 0, koord[2], idp+3, koord[1], 1+128
HOTSPOT2 0, koord[2], idp+4, koord[1], 3
HOTSPOT2 koord[1], koord[2], idp+5, koord[1], 2
My problem is that if X or Y got value 0, I can't move in that direction anymore?
3 REPLIES 3
Frank Beister
Advisor
My problem is that if X or Y got value 0, I can't move in that direction anymore?
For shure. In this cas all coordinates are equal. For this is the reference hotspot needed. See HOTSPOT2.

This should work. In case of Allplan does not understand GDL I can't proof 😉 :
HOTSPOT2 koord[1], 0, idp, koord[2], 1+128
HOTSPOT2 koord[1], -0.1, idp+1, koord[2], 3
HOTSPOT2 koord[1], koord[2], idp+2, koord[2], 2
HOTSPOT2 0, koord[2], idp+3, koord[1], 1+128
HOTSPOT2 -0.1, koord[2], idp+4, koord[1], 3
HOTSPOT2 koord[1], koord[2], idp+5, koord[1], 2
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
Anonymous
Not applicable
Doh, like Piff or Puff said on Donald Duck and friends have their christmasholiday.

"Thank you", why didn't I saw that?
Frank Beister
Advisor
The reference hotspot is not visible, but its distance to the base is not irrelevant, because it increases the internal calculated maximal object size. Small objects should use a short distance.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm