cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Streamline your workflows and master BIM coordination! Program starts April 28!

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

Bend via HOTSPOT2

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.

undefined
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.
Not applicable
Yea, this is it, have you any exemple basecode?