I made a gate valve and I am trying to use a lookup table to allow for auto-sizing with the manufactures dimensions. I've spent a couple days now trying to figure out where I went wrong in my lookup table because for some reason Revit is not using the proper reference values. From what I understand in the lookup table formula:
size_lookup("LookupTableName", "Column", DefaultValue, ReferenceValue)
The ReferenceValue is used to find the Row for which that ReferenceValue resides and Revit looks for that ReferenceValue in the First Column of the CSV File.
My formula I am trying to use is:
size_lookup("Gate Valve", "_A", 95 mm, 1)
In my Lookup Table, the Value in the Row where the ReferenceValue = 1 and Column = _A should be 83 mm, but Revit always defaults to 95 mm.
On a side Note I am also confused as to why the ReferenceValue has to be a unit of measurement. I see some people use text such as "30x30", Yet when I try to type Text for the ReferenceValue, Revit says "No you cant do that."
size_lookup("LookupTableName", "Column", DefaultValue, ReferenceValue)
The ReferenceValue is used to find the Row for which that ReferenceValue resides and Revit looks for that ReferenceValue in the First Column of the CSV File.
My formula I am trying to use is:
size_lookup("Gate Valve", "_A", 95 mm, 1)
In my Lookup Table, the Value in the Row where the ReferenceValue = 1 and Column = _A should be 83 mm, but Revit always defaults to 95 mm.
On a side Note I am also confused as to why the ReferenceValue has to be a unit of measurement. I see some people use text such as "30x30", Yet when I try to type Text for the ReferenceValue, Revit says "No you cant do that."
Comment