Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Moved a call to get types for a referenced assembly into the SafeLoad… #148

Merged
merged 1 commit into from
Jun 12, 2020

Conversation

nic-burgers-arup
Copy link
Contributor

…Assembly method.

I tried to remove a library from the Structural kit which no other plugin other than SpeckleGSA needs, which SpeckleGSA loads itself anyway - but found that because SpeckleRevit loads all assemblies and tries to get all types in all assemblies, a missing reference causes an uncaught exception to be thrown.

In a similar way to how SpeckleCore swallows exceptions related to the API/SDK libraries of specific applications not being present, I'd like it to ignore any issues with getting types from assemblies.

@teocomi
Copy link
Member

teocomi commented Jun 12, 2020

Thanks @nic-burgers-arup , thanks god this annoying loading behaviour will improve in 2.0!

@teocomi teocomi merged commit 3d6eaf9 into master Jun 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants