cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Movable hotspot problems

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
Moderator
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
Moderator
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

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!