willhl / BuildingGraph-Client-Revit

Neo4j and Building Graph (GraphQL) integrations with Autodesk Revit and Dynamo
MIT License
25 stars 12 forks source link

Okay... I finally make it work but.. #9

Open JaechangKo opened 1 year ago

JaechangKo commented 1 year ago

When I press the 'Publish to Graph' button, nothing happened... I set up the correct docker port and login info tho. I actually got XAML binding errors... error

willhl commented 1 year ago

Hi JaechangKo, I'll have look into this as soon as I can. What version of Revit are you using this with?

JaechangKo commented 1 year ago

@willhl Thanks for taking a look into it!!! 1) I first installed Revit 2021 and visual studio 2022. As the instruction said, I first installed Docker and run the local host. p1

2) Then, I clone the repository ($ git clone --recurse-submodules https://github.com/willhl/BuildingGraph-Client-Revit.git) p2

3) Then, I opened the BuildingGraph.Integration.Revit.sln with Visual Studio 2022. When I open, I got the error message like this, and the output says "C:\Windows\System32\BuildingGraph-Client-Revit\BuildingGraph-Client\BuildingGraph.Client.DGraph\BuildingGraph.Client.DGraph.csproj : error : The project file cannot be found." p3 Where's BuildingGraph.Client.DGraph.csproj?

4) Anyway, I set the BuildingGraph.Integration.RevitUI as Startup Project, then I set the Debug2021 and x64. Than I click the Start button. p4

5) Then, Revit 2021 automatically opened but I also got this error message. p5

6) And there's no addin in the revit headbar. p6

7) So, I tried to open it with revit 2022...
I setup the Debug2022 and x64.
p7

8) Then Revit2022 is automatically opened but I still got the same error message "External Tools failed to initialize the addin 'revit to graph' because the assembly 'BuildingGraph.Integration.RevitUI.dll' does not exist. In Visual Studio, here's Error List screenshot. p8

9) I was able to see the 'Publish to Graph' button yesterday... but today, I can't see anything... p9

10) Now, in the Visual Studio, I set 'Initialize interactive with Project', Then re-run the RevitUI.sln... Then This message pops up. I'm not sure how to deal with that... So I just click the green triangle run button.. p10

11) I pressed the publish button, p11

12) But nothing happened.. p12

13) And here's the error list... FYI p13

JaechangKo commented 1 year ago

@willhl I've been trying to figure out how to resolve but I'm still struggling with this.. any thoughts? Thanks!!

JaechangKo commented 1 year ago

@willhl I'm trying to open it again but I'm having this error.. System.InvalidOperationException: 'Error while loading librdkafka.dll or its dependencies from C:\Users\Jae\AppData\Roaming\Autodesk\Revit\Addins\2022\BuildingGraph\librdkafka.dll. Check the directory exists, if not check your deployment process. You can also load the library and its dependencies by yourself before any call to Confluent.Kafka'

Also.. here's the binding Failures lists.. error15