cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

GDL
About building parametric objects with GDL.
SOLVED!

GDL Trigonometry question

Mats_Knutsson
Advisor

Hi,

I have a label where i move the marker around freely through hotspots (xins and yins).

I don't understand how to code the line to stop at the perimeter of the circle. If I knew how ATAN works I could do this but i get an error when trying to use ATAN.

Br,

Mats

 

 

gdl atan.jpg

AC 25 SWE Full

HP Zbook Fury 15,6 G8. 32 GB RAM. Nvidia RTX A3000.
11 REPLIES 11
DGSketcher
Legend

Thank you. I will tuck that one away for future use. 👍

Apple iMac Intel i9 / macOS Sonoma / AC27UKI (most recent builds.. if they work)

Great snippet!!! Could you at HQ arrange a site with clever code snippets like this?

AC 25 SWE Full

HP Zbook Fury 15,6 G8. 32 GB RAM. Nvidia RTX A3000.