BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Hotline is cold

Pertti Paasky
Expert
Has anyone tried?
In GDL-manual we have 3d scripts:

HOTLINE
HOTLINE x1, y1, z1, x2, y2, z2
A status line segment between the points P1 (x1,y1,z1) and P2 (x2,y2,z2).
HOTARC
HOTARC r, alpha, beta
A status arc in the x-y plane with its center at the origin from angle alpha to beta with a radius of r.
Alpha and beta are in degrees.

Should they work like slabtool in 3d window?
- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
5 REPLIES 5
Karl Ottenstein
Moderator
Your subject line made me smile. 🙂
Pertti wrote:
Should they work like slabtool in 3d window?
I don't understand - the hotline and hotarc just let you snap to them. What does this have to do with the slab tool? If you are hoping for intelligence beyond snapping, then no.

Cheers,
Karl
One of the forum moderators
AC 27 USA and earlier   •   macOS Ventura 13.6.6, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
If you use the syntax listed in the reference manual, the lines aren't hot at all. I believe they need a unique identifier as in:

hotline x0, y0, z0, x1, y1, z1, iHotline

where iHotline is a unique (integer) index.

At least that's what I found with a bit of experimentation.
Barry Kelly
Moderator
Pertti wrote:
Should they work like slabtool in 3d window?
They won't allow you to stretch them like the edge of a slab with the pet palette.
HOTSPOTS can be stretchy but HOTLINES and HOTARCS can only be snapped to as Karl said.
They can be made to adjust if you add hotspots to the ends and/or radius and using those adjustable values for the hotline or hotarc.
Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
The htm version of GDL Reference Guide is more up to date than the pdf one.

from htm version :
HOTLINE x1, y1, z1, x2, y2, z2, unID
HOTARC r, alpha, beta, unID

unID must be unique for each HOTLINE.
Pertti Paasky
Expert
Thank´s for help. What I ment by" working as a slab tool" was simply that the slab provides a hotline to every side. And Karl, keep on smiling, because when I read "Polygon Operations Extension" in GDL Manual:

dim resPolyIDArray[]
nPgon = CALLFUNCTION (ch, "OffsetEdge", "poly1", resPolyIDArray)
Translates an edge of a polygon perpendicularly to its direction. The edge index and translation offset must be set with an "OffsetParams" command. The result will be regularized.
dim resPolyIDArray[]
nPgon = CALLFUNCTION (ch, "ResizeContour", "poly1", resPolyIDArray)
Enlarges or shrinks a contour of a polygon. The contour index and translation offset must be set with an "OffsetParams" command. The result will be regularized."
Smile everybody. This needs a separate thread I guess.
- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
Learn and get certified!