Skip to content

Print Sheets Improvements #2962#3027

Merged
jmcouffin merged 11 commits intopyrevitlabs:developfrom
WemyssJ:WemyssBranch
Jan 30, 2026
Merged

Print Sheets Improvements #2962#3027
jmcouffin merged 11 commits intopyrevitlabs:developfrom
WemyssJ:WemyssBranch

Conversation

@WemyssJ
Copy link
Copy Markdown
Contributor

@WemyssJ WemyssJ commented Jan 21, 2026

Print Sheet Improvements

Description

  1. Search Bar - Filters drawings, hide sheet number / names that don't contain input. DONE

  2. Load Last Print Settings? - Ticking this will load the last print settings you used on that project. Benched. I believe using Revit's sheet sets is a better solution

  3. Naming Format - if Project information parameter: Naming Format matches a built in pyRevit Naming Format, then choose this Naming Format by default when Print Sheet loads. DONE

  4. Naming Format 2 - Allow namingformat_cb to be right clicked and copied to clipboard. DONE

  5. Embed images when exporting to DWG - Sadly don't think this is possible

  6. Print Folder - Prevent timestamped print folder from opening when other printers are used DONE


Checklist

Before submitting your pull request, ensure the following requirements are met:

  • Code follows the PEP 8 style guide.
  • Code has been formatted with Black using the command:
    pipenv run black {source_file_or_directory}
  • Changes are tested and verified to work as expected.

Related Issues

If applicable, link the issues resolved by this pull request:


Additional Notes

WIP


Thank you for contributing to pyRevit! 🎉

Added functionality to copy naming format to clipboard and set default naming format from project information. Added sheet search function
@devloai
Copy link
Copy Markdown
Contributor

devloai bot commented Jan 21, 2026

Unable to trigger custom agent "Code Reviewer"You have run out of credits 😔
Please upgrade your plan or buy additional credits from the subscription page.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request implements several improvements to the Print Sheets tool based on user feedback in issue #2962. The changes enhance usability by adding sheet filtering capabilities, improving naming format workflows, and attempting to optimize folder opening behavior.

Changes:

  • Added a search bar to filter sheets by number or name for easier navigation through large sheet sets
  • Implemented automatic selection of naming format based on a "Naming Format" parameter in Project Information
  • Added right-click context menu to copy naming format names to clipboard
  • Modified folder opening logic to prevent timestamped print folders from opening with certain printer configurations

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
script.py Added search functionality, naming format auto-selection, clipboard copy feature, and modified folder opening logic
PrintSheets.xaml Added search TextBox UI element and context menu for naming format copying

@WemyssJ
Copy link
Copy Markdown
Contributor Author

WemyssJ commented Jan 21, 2026

New pull request as:

  • I rolled back to remove "Load Last Print Settings?" change
  • Updated to suit @jmcouffin 's recent language changes, though I have noticed the column headers are blank and arn't reading their {DynamicResource}.

To do:

  • Update pyRevit and retest headers
  • Prevent timestamped print folder from opening when other printers are used

@WemyssJ
Copy link
Copy Markdown
Contributor Author

WemyssJ commented Jan 21, 2026

@jmcouffin, changing the column headers in PrintSheets.xaml to a {StaticResource} appears to fix the issue. Any objection to making this change?

@jmcouffin
Copy link
Copy Markdown
Contributor

@jmcouffin, changing the column headers in PrintSheets.xaml to a {StaticResource} appears to fix the issue. Any objection to making this change?

No, but you need to test the language switch to make sure it works

@jmcouffin jmcouffin self-assigned this Jan 22, 2026
@jmcouffin jmcouffin added Enhancement Enhancement request [class->Improved #{number}: {title}] Tools Issues related to pyRevit commands [subsystem] and removed Enhancement Enhancement request [class->Improved #{number}: {title}] labels Jan 22, 2026
@WemyssJ WemyssJ marked this pull request as ready for review January 26, 2026 13:33
@WemyssJ
Copy link
Copy Markdown
Contributor Author

WemyssJ commented Jan 26, 2026

@jmcouffin, changing the column headers in PrintSheets.xaml to a {StaticResource} appears to fix the issue. Any objection to making this change?

No, but you need to test the language switch to make sure it works

Language switch still works after the change.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

Added Portuguese translations for tool titles and tooltips in the Print Sheets functionality. Corrected minor typos in existing English and other language tooltips for clarity.
Updated the Print Sheets tool by refining existing translations and ensuring consistency across language files. This includes correcting typos and enhancing clarity in tooltips.
@jmcouffin
Copy link
Copy Markdown
Contributor

Great, Thanks! It works fine in my tests @WemyssJ

@jmcouffin jmcouffin merged commit d425cc6 into pyrevitlabs:develop Jan 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2136-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2147-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2212-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1043-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1111-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1304-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1323-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1433-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1538-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1543-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1553-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1612-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1624-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1738-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1743-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1829-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1937-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 6.0.0.26032+1956-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 6.0.0.26032+2005-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 6.0.0.26032+2008-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New public release are available for 6.0.0.26032+2040

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New public release are available for 6.0.0.26032+2040

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tools Issues related to pyRevit commands [subsystem]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Print Sheet Enchancements

3 participants