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

Unable to get proper sketch constraint status

I'm trying to get constraint status of sketches in ".ipt" document using following C# code: PlanarSketches skecthes = PartDoc.ComponentDefinition.Sketches; foreach (PlanarSketch sketch in skecthes) { MessageBox.Show(sketch.ConstraintStatus.ToString()); } However, every time "sketch.ConstraintStatus" gives same status as "kUnknownConstraintStatus". Please suggest how I can get correct sketch's constraint status.