GDL
About building parametric objects with GDL.

hotline2 in wd markers dont work ?

gaba
Enthusiast

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?

wd1.png

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!

wd2.png

 

Why doesn't hotline2 work immediately in the window marker?

"When you seek knowledge, you will eventually find it. Then you will become its source - until such time as you must seek it again."
AC 7 - 27 (28), Twinmotion | Windows 10 Pro for Workstations
Dell 7740 Xeon | 64GB | RTX 3000 6GB + LG 2560x1080
3 REPLIES 3
Barry Kelly
Moderator

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.

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

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.

wd33.png

"When you seek knowledge, you will eventually find it. Then you will become its source - until such time as you must seek it again."
AC 7 - 27 (28), Twinmotion | Windows 10 Pro for Workstations
Dell 7740 Xeon | 64GB | RTX 3000 6GB + LG 2560x1080

@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.

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

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!