Repository navigation
Put the host's elements in FromRevit/HostModel when the model has links - #35
Merged
Merged
Conversation
revit_batch_begin carries host_name, the document title, when the host document contains a RevitLinkInstance. Blender then creates the host's new elements in FromRevit/HostModel - <name>, next to the LinkModel collections, and moves there the ones still in the FromRevit root; an element the user moved elsewhere stays. Without links nothing changes. CHANGELOG gets an Unreleased section with the fixes from #33 too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In a model with linked models, Send Selection now puts the host's own elements in
FromRevit/HostModel - <file name>, next to theLinkModel - <link name>collections.revit_batch_begincarries an optionalhost_name(the document title) when the document contains at least oneRevitLinkInstance. Decided on the model, not the selection.FromRevitroot, so a collection the user chose is kept. Withouthost_name(no links, or an older add-in) nothing changes.Tests: pytest, dotnet test (net48 + net8.0), add-in build for Revit 2024 and 2025, Blender 5.2 smoke_pull with the four placement cases. Tried in Revit 2025 + Blender with a real linked model.
🤖 Generated with Claude Code