-
Notifications
You must be signed in to change notification settings - Fork 13
Issue with units #21
Comments
Thank you @teocomi for taking a look. I didn't save the Revit file so I can't send it to you. However, I did found what caused the problem. I checked the initial stream (https://hestia.speckle.works/api/streams/qwU62nYbC/) and saw that in the baseProperties the unitsDictionary is null. In a new stream I've just made (https://hestia.speckle.works/api/streams/FhdjC7R67/) the unitsDictionary contains a dictionary with various units. My guess would be the key unitsDictionary with value null caused this error? Other info: I wasn't able to find out what caused the unitsDictionary to be null. It might be an odd problem on my side because a few streams I created also contained null objects (https://hestia.speckle.works/api/streams/OzLc36-sn/objects), while in Revit it appeared to be working as it should. So I uninstalled Speckle and downloaded it again. If I encounter this problem again I will save the file and try to make it possible to replicate. |
Thanks for the update @JdB-RHDHV ! It must have been the null unitsDictionary as you say, but I'm not sure what could have caused it to be null... Let us know if it happens again, for now I'll close this issue but just open it again if it reappears. |
Also, very weird that stream with null objects @didimitrie have you seen it before? |
I've got another stream with a bunch of null objects. It's on our own server, so I don't think I can share it with you. But I can post the raw stream here. The Speckle Revit plugin UI was a bit laggy and I clicked multiple times on some of the buttons. Maybe that caused the null objects? Stream info:
Objects info:
|
Any chance you could try sending the same stream again and see if the same happens consistently? Or is it a "once in a while" thing? It would help us a lot if you could share a sample model where we can replicate the issue as well. The SpeckleRevit UI is very sluggish in Revit 2019 because of the old version of CefSharp, but should be more stable in 2020 and 2021. |
Just now I tried to get it to occur again, but without luck. I did some testing on the Hestia server instead of our own and I only managed to get a stream without objects (so not null objects, simply no objects at all). So not sure if this is of any help, but I'll explain it just in case. If you check the history of this stream: https://hestia.speckle.works/#/streams/8t7C9HR5W/history What I did:
Now the UI worked really well, but when the null objects occurred the UI was a bit laggy. So that's why I clicked a few times back then. These multiple clicks in combination with the lag might have caused the null objects? I've attached the Revit file I used in my test. |
Thanks for the details, this will help us a lot! I'll try to reserve some time this week to investigate... |
@JdB-RHDHV So it seems the issue is, as you say, caused by the sluggish UI. That has been reported before and we assume it's caused by the old version of CEF the 2019 client is using. We are considering switching to a different UI framework, in the meantime can suggest to use Revit 2020 or 2021 if possible! |
@teocomi thank you for looking into it, again. I'm using 2 times 1920x1080 (laptop + external monitor above it). |
From Jeroen on slack:
The text was updated successfully, but these errors were encountered: