Skip to content

9.1 Deployment#1647

Open
BHoMBot wants to merge 62 commits intomainfrom
develop
Open

9.1 Deployment#1647
BHoMBot wants to merge 62 commits intomainfrom
develop

Conversation

michal-pekacki and others added 29 commits February 18, 2026 16:17
Rework Space lookup logic to better handle FamilyInstances and linked documents. Key changes:
- Early return for FamilyInstance.Space when FI has no spatial calculation point.
- Use element.LocationPoint(false) for primary location and apply linked-document transform to the point before containment tests.
- Defer collecting spaces until after transforming the location point; still populate m_LinkTransforms for spaces from linked docs.
- Only use room calculation point when FI has a spatial calculation point and useRoomCalculationPoint is true; prefer fi.Space when available.
- Adjust comment numbering and preserve existing fallback strategies (connector-based nearest space and searching below).
These changes ensure correct space resolution for elements coming from linked models and for family instances with or without calculation points.
@BHoMBot BHoMBot added the type:feature New capability or enhancement label Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:feature New capability or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants