Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Hi @hayattangercekler2.  The most common problem I see when folks are drawing geometry entirely by code, that they then intend to extrude, is 'how' the geometry is drawn.  In order for the Coincident constraints to be inferred at the end points of the profile's sections, you need to either use end points or start points of existing geometry when drawing the next connecting piece of geometry, not just matching numerical locations.  Otherwise, you would need to go back and add those coincident constraints, in order for it to be recognized as a 'closed' profile.  Your 'line3' was done correctly, but not 'line2'.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)