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

Unable to get proper sketch constraint status

Anonymous

Unable to get proper sketch constraint status

Anonymous
Not applicable

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.

0 Likes
Reply
246 Views
0 Replies
Replies (0)