Home › Forums › Problems and solutions in GDL › Informations from the environment › What is the proper replacement for GLOB_CONTEXT=1? › Reply To: What is the proper replacement for GLOB_CONTEXT=1?
November 5, 2015 at 17:10
#1902
James Murray
Participant
Here’s one from working on curved windows:
!otherwise you get div0
IF GLOB_CONTEXT=1 OR GLOB_CONTEXT=5 THEN
WOD=-4'
ELSE
WOD=WIDO_ORIG_DIST
ENDIF
hA=A/2
!half of included angle
hNg=ATN(hA/ABS(WOD))
James M