- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to create a rule that can be run at the assembly level to identify any frame generator components that have been modified (notch, miter, or manual custom extrusion cut) and then create a custom property that will increment by 1 for each component found that matches the criteria.
I have very little experience with iLogic other than simple, single tasks. I have found how to write a custom property to the components. I have an idea on how to search through the components to find any features with a predefined name. I know how to increment the custom property.
What I cannot figure out is how to combine the "add custom property" and the "if component has feature, then" code. I have seen some examples that are somewhat similar and they use Try/Catch code to add the custom property but I can't get that to work with an if/then. Hopefully someone can help shed some light on this as I've been working on it for 3 days and have a bunch of non-working code to show for it.
Solved! Go to Solution.