Message 1 of 2
VBA to suppress model tree features by type?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need to write a macro within our automation to suppress any features created using the "mark" feature. I've found where I can do this easily if I know what the feature is named- Mark1, Mark2, etc. And I could iterate thru Mark1-10 and hope that the user didn't rename it something else, but I'd rather identify it by the TYPE of feature. Mainly: a Mark, much like a Sweep or Revolve, etc. Does Inventor have some means of identifying all features of a certain type like this to suppress them?
Long story short: I need to suppress all 'mark' features, run my actual macro which saves the flat state into a format for our press brake, then unsuppress all 'mark' features to return the file back to its original state.