Detect invalid toolpath or missing references
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is there a way to detect whether a given operation has a valid toolpath or if it has no selected geometry? As an example:
I have the above setup (obviously simplified for demonstration). There are three sets of holes (green circles) whose location is determined by a form field. They can fall within one of three zones. There could be multiple sets in a zone (ie, all three might fall into zone 2) or there may not even be three sets. This could result in a particular zone having no holes in it.
Now, the operations I have set up use diameter selection with a containment boundary (each zone above is a boundary). What I'd like to do is, in iLogic, detect whether a particular operation has any valid holes. So if zone 1 (operation named Drill1) has no holes, then Drill1 would be invalid because there aren't any holes within it's containment boundary. If it has no holes, I want to suppress it.
Hopefully that made sense... Any help would be much appreciated! Thanks!