Message 1 of 2
How do I deactivate all instances of a component in a pattern?

Not applicable
04-20-2012
11:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a few components in my assenbly that I want to turn off under certain conditions. Using Component.IsActive, I can turn on or off an instance, but some of the components are in a pattern, and I want to turn on or off all instances of the component. To add to the challenge, the component patters are driven from Excel, aand the quantity of parts changes.
How can I turn off all of the instances of a pattern?