Skip to content

issue-1023 Refactor layout and viewport handling#1024

Merged
DomCR merged 2 commits intomasterfrom
issue/1023_multiple-viewports
Apr 8, 2026
Merged

issue-1023 Refactor layout and viewport handling#1024
DomCR merged 2 commits intomasterfrom
issue/1023_multiple-viewports

Conversation

@DomCR
Copy link
Copy Markdown
Owner

@DomCR DomCR commented Apr 7, 2026

Description

  • Add LastActiveViewport property to Layout, update DXF/DWG mapping
  • Ensure paper space layouts always have a viewport
  • Add AddViewport and UpdatePaperViewport methods to Layout
  • Improve Viewport defaults, scale handling, and documentation
  • Refactor CadDocument for clarity and better collection management
  • Update and expand layout-related tests
  • Clean up LayoutFlags enum and improve code organization

- Add LastActiveViewport property to Layout, update DXF/DWG mapping
- Ensure paper space layouts always have a viewport
- Add AddViewport and UpdatePaperViewport methods to Layout
- Improve Viewport defaults, scale handling, and documentation
- Refactor CadDocument for clarity and better collection management
- Update and expand layout-related tests
- Clean up LayoutFlags enum and improve code organization
@DomCR DomCR linked an issue Apr 7, 2026 that may be closed by this pull request
@DomCR DomCR added bug Something isn't working minor Updates the minor version on merge. labels Apr 7, 2026
@DomCR DomCR merged commit e0524d2 into master Apr 8, 2026
@DomCR DomCR deleted the issue/1023_multiple-viewports branch April 8, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working minor Updates the minor version on merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a layout with multiple viewports

1 participant