-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(revit): adds fallback option to receive displayable speckle objects as directshapes #2841
Conversation
This aligns the logic with the viewer's selection logic, where any displayable object will be selectable as a unit, independently of how many geometries it's made of.
…fallback-when-conversion-fails
…or' into alan/revit/ds-fallback-when-conversion-fails
…or' into alan/revit/ds-fallback-when-conversion-fails
…or' into alan/revit/ds-fallback-when-conversion-fails
…fallback-when-conversion-fails
…ost element setting
ConnectorRhino/ConnectorRhino/ConnectorRhinoShared/UI/ConnectorBindingsRhino.Receive.cs
Outdated
Show resolved
Hide resolved
Objects/Converters/ConverterRevit/ConverterRevitShared/ConverterRevit.cs
Outdated
Show resolved
Hide resolved
ConnectorRevit/ConnectorRevit/UI/ConnectorBindingsRevit.Receive.cs
Outdated
Show resolved
Hide resolved
ConnectorRevit/ConnectorRevit/UI/ConnectorBindingsRevit.Receive.cs
Outdated
Show resolved
Hide resolved
ConnectorRevit/ConnectorRevit/UI/ConnectorBindingsRevit.Receive.cs
Outdated
Show resolved
Hide resolved
…ion of some conflicting changes after dev merge (#2861) * fix(core): Removed duplicated methods on `ISpeckleConverter` after non-conflicting merge * fix(rvt): Incorrectly merged chunks caused failure to build * feat(rvt): Isolated `HostElement` in new `RevitConverterState` * feat(rvt): Added directshape fallback setting * fix(rvt): Reorganized fallback to DS behaviour * feat(rvt): Added new setting for DirectShape fallback Still pending backwards compatibility with the previous setting, seems to work as intended right now * fix(rvt): Minor cleanup of fallback logic * fix(rvt): Update appObject when everything fails
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switching this to "requested changes" not because there's any changes pending on our side, but because I don't want to merge this without @connorivy express consent, as we've had to fix some rather complex conflicts that require triple checking before this goes, as it can affect the fix merged in #2849
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made a small tweak and now I'm happy with the merge resolution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing! Just browsed through your commit and looks great @connorivy.
Approving too in order to merge in 🥳
Description & motivation
This feature includes the following:
directshape receive setting
so that all commit objects are received as directshapes created from their displayValue geometry. This should look exactly as the commit does in the viewer.Closes #2777
Closes #2468
Changes:
To-do before merge:
Screenshots:
Validation of changes:
Tested receiving large revit commits with instances using the directshape setting.