The default software code written to convert "Fixture Units (FU)" to "Flow (GPM)" via Hunter’s Curve does not account for fixture units below 5FU for "Predominantly Flush Valve Supply Systems." It currently assumes 15.0 GPM for anything ≤5FU for “Predominantly Flush Valve Supply Systems” and assumes 3.0 GPM for anything ≤1FU for “Predominantly Flush Tank Supply Systems.” I would like to add a few more fixture unit-to-flow conversions to the code so that the Duct/Pipe Calculator sizes pipe appropriately for small fixture unit applications. Using the edited source code, a new DLL file, incorporating those changes, would need to be built and put in the AddIns folder for Revit to call from.
My question: how is the source code compiled and built into a DLL for Revit to use through the external AddIns folder assuming I have the source code prepared?
Solved! Go to Solution.
Solved by arnostlobel. Go to Solution.
Hi,
It seems that you want to create a plugin from a existing code, is that correct? To do so, you need to create a project with Visual Studio, add the references and then compile. At this website, http://www.autodesk.com/developrevit you can get information on this, more specificaly this video http://download.autodesk.com/media/adn/Revit_2011_2012_DevTV_EN.zip will give you the first steps.
Thank you for the response. I have built the .dll files and installed the .addin file in the "Addins" folder along side the default "MEPCalculation" folder.
I now recieve the error messages below when starting RevitMEP2014: