Unable to get proper sketch constraint status
Not applicable
05-07-2015
01:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.