Issue with SDK and Visual Studio

Issue with SDK and Visual Studio

Anonymous
Not applicable
4,176 Views
28 Replies
Message 1 of 29

Issue with SDK and Visual Studio

Anonymous
Not applicable

Hi ! 

 

I working on a add-in for revit.

I installed the SDK and I have got Visual Studio 2015 and 2017.

 

I followed "Getting Started for Extensions SDK", so i copy past the folder from "..\Software Development Kit\REX SDK\Visual Studio templates\items\" to "C:\Users\<current user>\Documents\Visual Studio 2015\Templates\ItemTemplates\Visual C#\" and same for Project.

 

When i want to create my project, i see the revit extension WPF/Form. 

But when I want to process, i got a error message :

 

"Error : this template attempted to load component assembly 'Autodesk.REX.Framework, Version=2018.0.0.0, Culture=neutral, PublicKeyToken=<a code i don't know if i can put>'. For more information on this problem and how to enable this tempalte, please see documentation on Customizing Project Template.

 

Can you help me to fix it out ?

 

Best Regards,

 

0 Likes
4,177 Views
28 Replies
Replies (28)
Message 21 of 29

jeremytammik
Autodesk
Autodesk

Have you tested using the updated set of REX SDK Visual Studio templates for Revit Structure 2019 mentioned in the blog post I pointed to above?

 

Maybe that resolves the problem for Revit 2020 as well:

 

https://thebuildingcoder.typepad.com/blog/2018/06/rex-sdk-visual-studio-templates-for-revit-structur...

 

https://thebuildingcoder.typepad.com/files/rex_sdk_visual_studio_templates_2019.zip

 

If not, I'll ask the development team yet again.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 22 of 29

Anonymous
Not applicable

I did try the updated files for 2019, it was unsuccessful. 

FYI I also have a case open with Customer Service on this issue.

0 Likes
Message 23 of 29

jeremytammik
Autodesk
Autodesk

Dear Joel,

 

Thank you for your update and confirmation that the Revit 2019 solution does not work in your case.

 

Sorry to hear that.

 

I checked with the development team and am still waiting for their response.

 

I'll let you know as soon as I have any news on this.

 

Thank you for your patience.

 

Thank you also for your customer service case 16234942 [Error implementing the 2020 REX SDK with Visual Studio 2017].

 

I would suggest that we continue discussing this issue here in this public thread for the entire add-in developer community the see, contribute, and share, if you don't mind, to save me duplicating the information for you in the private ticket. Thank you!

 

Best regards,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 24 of 29

Anonymous
Not applicable

Jeremy,

 

Checking in to see if anyone has attempted to replicate the problem, and if it is slated for an update in the near future. I can stay busy with SDK Samples for the time being, but I'd like to have REX working prior to advancing much further. 

 

Best,

Joel Johnson

0 Likes
Message 25 of 29

jeremytammik
Autodesk
Autodesk

The development team shared a new version of the REX SDK and the Structural Analysis SDK for Revit 2020 including template code, samples and documentation.

 

Please let us know how these work for you.

 

Thank you!

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 26 of 29

Anonymous
Not applicable

The REX SDK installed and is now working! I read all provided PDF documentation and did the Hello World exercise. I have some basic questions on how to get started with my specific project(s) but I'll create a separate post when I'm ready. 

 

I haven't looked at the Structural Analysis SDK as we are going to link Revit with our own custom proprietary software. After reading about element mapping between databases and the content generator, I'm relieved to know that the REX SDK will likely reduce a lot of development time since those functionalities already exist. 

 

Thank you for providing the updates! I'm glad to have begun my journey down this path.

0 Likes
Message 27 of 29

jeremytammik
Autodesk
Autodesk

Thank you for the confirmation!

 

Shared here on the blog as well now:

 

https://thebuildingcoder.typepad.com/blog/2020/03/another-async-await-rex-and-structural-analysis-sd...

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 28 of 29

dmagbelusi
Contributor
Contributor

Thank you, Jeremy. It would be nice if they just packaged the current REX SDK with the overall Revit SDK. 

0 Likes
Message 29 of 29

jeremytammik
Autodesk
Autodesk

Thank you for the sensible suggestion. I fully agree. I have asked the development team what they think about it for you.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes