![]() ![]() On the other hand, it is pretty straightforward, more or less as you describe. Sorry to hear that there is so little other information on this. Thank you for raising your query here as well as in your comment on The Building Coder:įor the sake of completeness and for other readers, let me reiterate what I explained to you there: I am not quite sure what I am doing wrong, any help is highly appreciated. I am buiding the dll with 圆4 configuration and I tried both Release and Debug (I tried win32 and the generated DLL doesn't do anything) If I add a TaskDialog to see if anything gets executed, it seems like nothing gets executed. ![]() That lasts for about 2 minutes and then it goes away. When executing the command from Revit, Revit just hangs and the mouse pointer turns into a spinner. Other than that it compiled with no problem. The structure seems pretty similar to yours, but I has to add the header file myself.Ģ- To add the dependencies (RevitAPI, and RevitAPIUI) I had to enable CLR Support in Project Properties.ģ- I had to change the TransactionMode to manual/Readonly So I created a Visual C++ > Windows Desktop > Dynamic-Link Library (DLL) project. I couldn't find a class library option under Visual C++ in VS 2019. I tried to follow the steps, but since it has been a while since that post was written had to change a few things:ġ- The blog posts guides to create a Visual C++ Class Library project. I am trying to create a C++ revit plugin and the only source that I could have found is this old post from Jeremy:
0 Comments
Leave a Reply. |