You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tell speckle "how to diff" based on the specified objects' Hashcode.
For some (quite convoluted/do not ask) reason, we would like to calculate the Hash for the BHoMObject externally to the object, not overriding/calling bhomObject.GetHashCode(), in order to pass it to Speckle's Serialise method (see question below).
is it possible to pass a custom HashCode, perhaps in the Dictionary<int, string> traverse parameter? If so, how am I supposed to populate the string part of the dictionary (which apparently represents some sort of "path")?
The text was updated successfully, but these errors were encountered:
Scenario
Tell speckle "how to diff" based on the specified objects' Hashcode.
For some (quite convoluted/do not ask) reason, we would like to calculate the Hash for the BHoMObject externally to the object, not overriding/calling
bhomObject.GetHashCode()
, in order to pass it to Speckle'sSerialise
method (see question below).Question
With reference to the
Serialise
method of Speckle:https://github.com/speckleworks/SpeckleCore/blob/9545e96f04d85f46203a99c21c76eeea0ea03dae/SpeckleCore/Conversion/ConverterSerialisation.cs#L39-L53
is it possible to pass a custom HashCode, perhaps in the
Dictionary<int, string> traverse
parameter? If so, how am I supposed to populate thestring
part of the dictionary (which apparently represents some sort of "path")?The text was updated successfully, but these errors were encountered: