Yes, with expressions it´s very dificult.
with Civil 3D API, we only need the start direction and the coordinates of the center point.
The start direction of the arc will be a ray,
From the center point, we create another ray (start station+100 gon) to be ortoghonal.
Then we find out the intersection point between both rays and then we calculate the offset length. According on the sign of the offset, then the arc is right-hand or left-hand.
Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS
Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes