09-26-2016
07:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
09-26-2016
07:50 AM
I'm having trouble finding a way to hide the constraints in a part sketch using the API. I'm creating a sketch with the API with several hole center points that are fixed. However, the fixed constraints make it hard for the user to see the hole points. Does anyone out there know how to hide sketch constraints with the API?
Solved! Go to Solution.
09-27-2016
03:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
09-27-2016
03:29 AM
Try this
ThisApplication.CommandManager.ControlDefinitions.Item("SketchHideAllConstraintsCtxCmd").Execute
If you think this answer fullfilled your needs, improved your knowledge or leads to a solution,
please feel free to "kudos"
please feel free to "kudos"
09-27-2016
06:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
02-27-2020
05:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
02-27-2020
05:11 AM
Hi Frederick,
That is a great snippet of code, is there a similar one to show all sketch constraints?
I tried replacing the Hide with Show (see below) but it does not appear to be that simple, it throws an error when i run it
ThisApplication.CommandManager.ControlDefinitions.Item("SketchShowAllConstraintsCtxCmd").ExecuteRegards
Mark