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

Bend via HOTSPOT2

Anonymous
Not applicable
Hi,
can anybody help me with bend via HOTSPOT2.
I have polyline and i want add to 2D script bend line via hotspot, but I dont know how do it.
I send screen, how I do that.

polyline hotspot.jpg
2 REPLIES 2
sinceV6
Advocate
Like this?


It is kind of complex. You need to script the whole thing. Look into the calculations needed to create arcs based on chord length and arc radius, you'll need to calculate start angle, end angle, etc...

EDIT: Forgot to mention that the GDL Cookbook has an example of this. I kind of remember that it had a very slight mistake in the formulas, so I did my own research on the subject.
Anonymous
Not applicable
Yea, this is it, have you any exemple basecode?