2024-04-17 09:19 AM - last edited on 2024-09-24 10:18 AM by Doreena Deng
I don't understand HOTLINE2's strange behavior in window/door marker.
Example: I created a new simple window marker and in the 2D script I just entered:
line2 0,0,1,1
hotline2 0,0,1,1, 1
Then in the project I connected this marker to the window and then:
1. I move the cursor over the line and HOTLINE2 does not work - why?
2. However, when I move the cursor to the end of the line, ArchiCAD recognizes the end of the line and then HOTLINE2 starts working!
Why doesn't hotline2 work immediately in the window marker?
2024-04-17 09:41 AM
I don't know why.
It is recognising the end of the line because there is a node there, not because of the hotline.
Once you have activated the snap guide at the end, I think you will find it is still not recognising the hotline at all.
The cursor is picking up the 45° snap guide.
Maybe hotlines just don't work in markers?
I just tried and they just don't seem to work.
Hotspots work though which is odd.
Barry.
2024-04-17 10:18 AM
Barry, when I disabled hotline2 in the script, ArchiCAD does not recognize the end of the line!
Therefore, it seems that hotline2 in wd markers works to a limited extent: it recognizes endpoints but does not recognize lines.
2024-04-17 10:50 AM
@gaba wrote:
Barry, when I disabled hotline2 in the script, ArchiCAD does not recognize the end of the line!
Therefore, it seems that hotline2 in wd markers works to a limited extent: it recognizes endpoints but does not recognize lines.
Quite true, so it does.
I have no explanation for it though.
Sorry, I just assumed it was picking up the extent of the line - a bit like bounding box hotspots.
Barry.