erfajo / OrchidForDynamo

This repository contains the content of the Orchid package for Dynamo
http://www.dynamobim.com
Other
99 stars 55 forks source link

Dynamo.Exceptions.LibraryLoadFailed #208

Closed Daralice closed 1 year ago

Daralice commented 1 year ago

Revit, Dynamo and Orchid version

(Which version of Revit, Dynamo and Orchid are you using? Go to Help > About if you're not sure. for Orchid version, go to Packages > Manage Packages) Revit: 2022.1 Dynamo: 2.12.0.5650 Orchid: 212.4.0.5889

The issue

Hey, I'm quite new to Dynamo and currently work on some scripts where I use the Orchid Package. Since Friday I get troubles as my Dynamo states that it can't find a file or assembly...

Here is the info I got (it's partially in German):

image

I tried this proposed solution, but it didn't work: https://forum.dynamobim.com/t/dynamo-packages-not-loading-2-12/79904

deleting orchid and reinstalling it didn't help either.

I got a seemingly related problem with "Crumple", but I wasn't able to figure out why it's only these two packages, so I thought I might just ask.

Thank you!

erfajo commented 1 year ago

Hopefully, do you work on some graphs, since you ask for usage of my nodes. To do scripting with my nodes are possible, but that is nearly never the case. Most cases (as 99%) would be using nodes in a graph. However, I am aware that by far too many describe what they do as "scripting"... but that is a slang language that should never be used.

next... How did you install it? if you downloaded the package as zipped version, then you need to unblock the assemblies. If you used the installer that should be fixed, however, try to see if the assemblies are blocked. https://github.com/erfajo/OrchidForDynamo/blob/master/Error.md

Daralice commented 1 year ago

Hm, okay, interesting! I did use the installer yesterday, as I deinstalled and reinstalled Orchid. I'll try to find and unblock the assemblies :D

About the language: I'm happy to improve my professional english, although most of the time I'm simply happy that people know what I mean, when trying to express myself in a foreign language :D But I'll keep in mind that I work on graphs in dynamo ^^

erfajo commented 1 year ago

if you used the installer, then I suppose that the error could be something else.

As I also write on the error page, some of the other packages you have loaded might include assembly files from dynamo, and that is a no-go, but it does happen that newbie codes include those assembly files. So try to unload all other packages by moving the packages to your desktop, then open revit/dynamo again, and see if Orchid worksโ€ฆ if so, then add one package at the time to see which package gives you the error. I suppose that it is not any of the larger packages but a small relatively new package.

By the way, my Orchid package is always built upon the latest Revit/Dynamo Build, this would be Revit 2022.1.4 at the moment.

Daralice commented 1 year ago

Thank you!

I'l try my best to solve this. As an Interior Architecture student Dynamo and IT structures are sometimes overwhelming for me.

sayurlarismanis commented 1 year ago

Hi, I have the similar problem.. How do you install/update the IfcExporter properly?

erfajo commented 1 year ago

@sayurlarismanis Sorry, how is an issue concerning the IfcExporter similar? This sound not like the same problem...

please start your own issue, and if you think it is similar, then link to this issue...

sayurlarismanis commented 1 year ago

Because it stated over there and just like mines that the"IfcExportUIOverride.addin cannot be found, the system can't find the file."

I read from your closed issues from here: https://github.com/erfajo/OrchidForDynamo/issues/119 that by installing the ifcexporter would help. FYI I also updated my Revit to 2022.1.4 and it still didn't work..

erfajo commented 1 year ago

as I wrote, that is another problem... this is not alike this problem at all...

sayurlarismanis commented 1 year ago

Alright, my apologies I will create a new thread then

erfajo commented 1 year ago

sorry... it is me... I didn't see that it was the IFC assembly that was mentioned here as well... so you are right, it might be the same problem :-)

Normally when someone can get the Orchid nodes, then it is usually due to not have been reading the error page... not trying to solve those errors first. However, this goes as well for Ifc issues, using the Ifc nodes comes with restrictions, I will describe them in the next post.

erfajo commented 1 year ago

So both @Daralice and @sayurlarismanis did you install the IFC exporter before installing Orchid? This is a requirement!!! image

sayurlarismanis commented 1 year ago

Not yet, I'm not quiet familiar how one can install the IFC exporter properly..

I know you referred to this link: https://github.com/Autodesk/revit-ifc but i'm not sure which one to download

erfajo commented 1 year ago

as it is for Orchid, take the version that suits your Revit version...

image

sayurlarismanis commented 1 year ago

image I installed the latest IFC version for my Revit 2022.1.4.. but it doesnt change anything unfortunately. Is there a possibility that we have to refer to certain file path for the IFC? Or was installing only supposed to be enough?

erfajo commented 1 year ago

that was strange... could it be the case that the IFC installer is localized? and that this means that the "IFCExporterUIOverride.dll" might have an issue!? I know that ForgeIDs are localized and that means that I only build for the English version and not any other localized languages... but if the same is the case with Ifc I don't know.

One option is still that something else is shipped with assembly files that not should be the case, this can be checked by removing other packages and then testing if Orchid works... and as written earlier, then move one package back at the time to see if it is loading another package that gives the error... and I am sure that if so, then will you see that the package has some assemblies in the "bin" folder it should not have had.

and for your last question, not there should not be anything concerning paths, but try to open the exporter from inside Revit and see if that works... then should this also work from dynamo.

sayurlarismanis commented 1 year ago

I have tried removing all packages and having only Orchid inside my Dynamo, unfortunately that didn't change anything at all...

So my assumption would be that there is an issue within the IFC installer- because it still says that it cant find the IfcExportUIOverride.addin version 22.6.2.0. And it's weird because I already specifically installed that version

erfajo commented 1 year ago

ahhh... so first try to get the IFC exporter to work, and then progress to dynamo after that...

Daralice commented 1 year ago

We solved the issue, thanks for your help! ๐Ÿ˜„ We deinstalled and reinstalled IFCforRevit2022. It's weird because it was the same version of the IFCforRevit but now it works. ๐Ÿ˜„

erfajo commented 1 year ago

Thanks for reporting :-) ...however, I will wait to close the issue until @sayurlarismanis has answered as well.

sayurlarismanis commented 1 year ago

Right as it turns out, uninstalling the IFC was necessary before reinstalling the new version.. I wasn't aware about that. ๐Ÿ˜„

erfajo commented 1 year ago

It is good that the issue got solved :-)