I just slapped my forehead; could you hear it from there? I just got it to work after fiddling with it for a minute. Attached is my example Family file (Revit 2014) (the Lookup Table files is embedded in the Family). This Family looks up an ##OTHER## value from the table based on the "box size". Perhaps when I was doing this before, I forgot that every time you change the Table file, you have to re-import it into the Family, under 'Family Types'. Please take a look at the attached and see if I am again mistaken...
I tried your family, without a bit more knowledge I can't figure out what you're trynig to achieve.
Here's how I did mine, see attached txt. I paste this into my KVA formula. The nice thing about laying out your formula in notepad and then pasting into revit is that revit ignores the returns so you can lay out each if statement to make sure you don't miss any.
Have you tried playing with temperatures and GPM yet? Weee!
Have fun and good luck.
The attached example Family (Revit 2014) is based on the chart you included as a .pdf file. It looks up AMPS according to the user inputted HP and VOLTAGE.
"What about the csv table you used?"
Regarding the .cvs file, it is embedded in the Family file. Open the Family and go to Family Types. On the right side, you'll see "Manage..." under 'Lookup Tables'. From there, you can export the embedded .cvs file to look at it. If you change it, you have to re-import it with this same dialog, overwriting the previous version.
"I get the looking up the KVA column and the multiply by 1kva, but what is up with the (Box Size/ 0'-6")? How is it getting converted from ##number##feet to kva that easily? Or is it really considered to be unitless?"
The Box_Size/0'-6" part is a random default value I entered if it cannot find a valid lookup value on the .cvs file. For instance, if you entered a box size of 1'-6", it would not find that size on the Lookup Table and resort to the default of 18"/6" = 3, and then 3 * 1kVA = 3kVA. Got it?
check out the second example family if you want your head to hurt.
No attachment. Want to try that agian?
I exported the file and the units come up as feet. How can you go from feet to kva without dividing by 1' first? That's what hurts. But hey, if it works I'll give it a whack and see what I come up with.
Ummm... I was just making sure you guys were paying attention...
BTW - it's only a partial chart from that PDF file - only up to 2HP and to 460V.
"I exported the file and the units come up as feet. How can you go from feet to kva without dividing by 1' first? That's what hurts. But hey, if it works I'll give it a whack and see what I come up with."
Are you saying that if you open the .CVS file, the type is no longer ##other## (which is unitless)? I suspect that a Length Parameter may automatically take this value as inches (or whatever the default Length units are), but I'm not certain about that.