speckleworks / SpeckleCore

Check a brand new Speckle at: https://github.com/specklesystems
https://speckle.systems
MIT License
38 stars 16 forks source link

Some properties cannot be set, causing errors #51

Closed didimitrie closed 6 years ago

didimitrie commented 6 years ago

For example, the rhino radial dimension has public properties/fields, that nevertheless can not be set due to the restrictions of rhino, throwing an ominous DocumentCollectedException: This object cannot be modified because it is controlled by a document.

Fix (in progress): wrap all property/field setters in try { } catch { } and take care on implications when it comes to references (some might be null!).