My English is not so good, so I'm not sure if this is the solution for your problem, and if it is complete, but here is my "guess"...
Create the parameters 'x' and 'y' for the cross-node position (in fact the distance from the corner)
! ----- MASTER SCRIPT
VALUES "x" RANGE [0,a]
VALUES "y" RANGE [0,b]
IF x<>0 AND y<>0 THEN
IF ABS(x)>ABS(y) THEN PARAMETERS y=0 ELSE PARAMETERS x=0
ENDIF
! ----- 2D SCRIPT
LINE2 0,0, a,0
LINE2 0,0, 0,-b
LINE2 a,0, 0,-b
HOTSPOT2 a,-b
hid=hid+1: HOTSPOT2 0,-y, hid, x, 1
hid=hid+1: HOTSPOT2 x,-y, hid, x, 2
hid=hid+1: HOTSPOT2 -1,-y, hid, x, 3
hid=hid+1: HOTSPOT2 x,0, hid, y, 1
hid=hid+1: HOTSPOT2 x,-y, hid, y, 2
hid=hid+1: HOTSPOT2 x,1, hid, y, 3
!!!!!!!!!!!!!!!!!!!!!
___________________________________
--Roberto Corona--
_________________
--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________