Check if excel parameter exists in Assembly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I feel I've done this a dozen times before, but it's been about 5 years since I've gotten into the weeds with this, perhaps someone can assist?
I have an assembly file that will have a linked excel file and subsequent excel parameters.
The excel parameters have a prefix to identify a specific component for a given configuration of the assembly (i.e., Door1_length, Door2_length, Door3_length, Door4_length, Door5_length, etc.). However, depending on the configuration of the assembly, there may only be 2x that represent the specific components we're identifying (i.e., Door1_length & Door2_length), or as many as 10x (i.e., Door1_length thru Door10_length).
What I would like to do is check the Excel Parameters if Door1_length exists...
If it doesn't exist, then do nothing, but IF it does exist, then Run Rule "Door1_ABC".
Then check if Door2_length exists...
If it doesn't exist, then do nothing, but IF it does exist, then Run Rule "Door2_ABC".
Then check if Door3_length exists...
If it doesn't exist, then do nothing, but IF it does exist, then Run Rule "Door3_ABC".
and so on..
Worth noting that we are using Inventor 2019.
Many thanks in advance!
-TMW