Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
chandra.shekar.g
in reply to: Anonymous

@Anonymous,

 

Below iLogic code works only on selection of linearDrawingCurve. Because, midpoint is always associated with line curve segment. In the attached drawing, there are no much line curve segments. This is actual reason to throw exception from iLogic code.

 

Call oLeaderPoints.Add(oTG.CreatePoint2d(oMidPoint.X, oMidPoint.Y - 1.8))

Call oLeaderPoints.Add(oTG.CreatePoint2d(oMidPoint.X, oMidPoint.Y - 1.8 ))

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network