Repository navigation
print: filter sheets by parameters with --where - #251
Merged
Merged
Conversation
mahach666
added a commit
that referenced
this pull request
Nov 16, 2026
Review #251: --sheet A101,A102 with --where Sheet Number=A102 aborted with No printable sheet A101 instead of printing A102. Explicit names were resolved against the already-filtered catalogue. Resolve against the complete catalogue via testable SelectExplicitSheets, then intersect; list/all paths filter at use. Tests cover mixed matching/nonmatching, unknown, empty-after-filter and no-filter selections.
mahach666
force-pushed
the
feat/print-where
branch
from
November 16, 2026 15:28
c6cfdd8 to
5514cf2
Compare
Reuses SheetFilter from rvtio sheets: --where NAME=VALUE (also != and ~, wildcards, repeatable) with --sheet, --all-sheets or --list-sheets; with --sheet a sheet prints when numbered and matching. Misspelt name or empty match exits 1. Docs (printing.md, README, CHANGELOG) + PrintCommandTests cases.
Review #251: --sheet A101,A102 with --where Sheet Number=A102 aborted with No printable sheet A101 instead of printing A102. Explicit names were resolved against the already-filtered catalogue. Resolve against the complete catalogue via testable SelectExplicitSheets, then intersect; list/all paths filter at use. Tests cover mixed matching/nonmatching, unknown, empty-after-filter and no-filter selections.
mahach666
force-pushed
the
feat/print-where
branch
from
November 16, 2026 16:45
5514cf2 to
fe15b7e
Compare
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.
Stacked on #248 (reuses SheetFilter).\n\n- rvtio print --where NAME=VALUE (also != and ~, * ? wildcards, repeatable, case-insensitive, Yes/No aliases) with --sheet, --all-sheets or --list-sheets; with --sheet a sheet prints when it is one of those numbered and matches the filters (as in rvt-prt).\n- Misspelt name or empty match exits 1; --where without sheet context exits 1.\n- Docs: docs/printing.md, README, CHANGELOG. Tests: 3 new PrintCommandTests (no fixture files needed); SheetFilterTests/SheetCatalogTests/SheetsCommandTests green.\n\nNo Autodesk code.