
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Searched everywhere here for the right solution & found similar answers but not quite what I need.
I have created an iLogic .IPT for a Wall Mounted HVAC. The .IPT is linked to an Excel spreadsheet for the parameters (HVAC_W, HVAC_D, etc... as shown below) & I have created a table of values in Excel based on each HVAC model number. I already have created an iLogic Rule that determines the correct HVAC Model Number based on the selection of 3 criteria from my iLogic Form. So far, I think I have that covered....
Here's a portion of my table of dimensions from my spreadsheet:
What I'm trying to achieve is to write the correct iLogic Rule that would emulate the Excel Functions of VLOOKUP & MATCH. The code would LOOKUP the HVAC Model Number column ("HVAC_Model_No" parameter in my .IPT) from the spreadsheet then MATCH the corresponding values of the parameters (HVAC_W, HVAC_D, etc...) then apply these values to my .IPT parameters & change the physical dimensions of my part.
I've already tested this (with success) as an iLogic assembly with iParts for each HVAC model number, then, using iLogic to suppress components, however, the code gets lengthy & the assembly gets heavy. I'd prefer to have a smaller part file to use, as our steel building models get large enough already. That's why I'm trying to go the .IPT direction using iLogic & a spreadsheet to control one part, rather than a large assembly & suppressing components.
I'm sure there's an easy solution to this for those of you more verse in iLogic than I.
What iLogic snippets or code would steer me in the right direction?
I've attached my .IPT & Spreadsheet, as well, so you can see where I'm going with this.
Thanks in advance for your help!
Cheers,
Bruce
Solved! Go to Solution.