mcneel / rhino.inside-revit

This is the open-source repository for Rhino.Inside®.Revit
https://www.rhino3d.com/inside/revit/
MIT License
260 stars 65 forks source link

Rhino.Inside for Revit 2017 #381

Open alexberd opened 3 years ago

alexberd commented 3 years ago

I noticed that the official release of Rhino Inside version of Jan 2021 does not support Revit 2017. Could you please advise if it is possible to build Rhino.Inside-Revit for Revit 2017? Thank you in advance. Alex

eirannejad commented 3 years ago

@alexberd Hello! Revit 2017 API is quite old and keeping RIR buildable on 2017 was a growing pain. Knowing that the current supported Revit versions by Autodesk is 2018-2021, we dropped the support for 2017.

I'm not sure if you are comfortable forking the project and building it for 2017 yourself. There are two things need to happen. First you'd need to add build configurations to the Visual Studio solution, and second, take care of the build errors if there are any:

If you are and would like to support the 2017 development on this project:

Lets us know if you need more info on this process

if you are not, and just want to get RIR to work with 2017 right now:

<?xml version="1.0" encoding="utf-8"?>
<RevitAddIns>
  <AddIn Type="Application">
    <Name>Rhino.Inside</Name>
    <Assembly>RhinoInside.Revit\RhinoInside.Revit.dll</Assembly>
    <FullClassName>RhinoInside.Revit.Addin</FullClassName>
    <AddInId>02EFF7F0-4921-4FD3-91F6-A87B6BA9BF74</AddInId>
    <VendorId>com.mcneel</VendorId>
    <VendorDescription>Robert McNeel &amp; Associates</VendorDescription>
    <AllowLoadingIntoExistingSession>false</AllowLoadingIntoExistingSession>
  </AddIn>
</RevitAddIns>

Make another folder under this directory named RhinoInside.Revit and copy the files shown here from the compiled dlls into this directory Screen Shot 2021-02-01 at 12 02 10 PM

Please continue the discussion and feel free to ask questions. We'd like to keep this thread as a guide for other potential 2017 users as well