Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort revisions before printing revision report #1583

Merged
merged 1 commit into from
Sep 3, 2022

Conversation

perrylackowski
Copy link
Contributor

The previous script outputs the revision list straight from a FilteredElementCollector, so the list of revisions is not necessarily in numerical order. This change gathers the revision numbers and revision data in a rev_data list prior to adding them to the rev_table string, that way they can be sorted first.

The previous script outputs the revision list straight from a FilteredElementCollector, so the list of revisions are not necessarily in numerical order. This change gathers the revision numbers and revision data in a rev_data list prior to adding them to the rev_table string, that way they can be sorted first.
@eirannejad eirannejad changed the base branch from develop to dev/pr1583 September 3, 2022 22:18
@eirannejad eirannejad merged commit 8a014bf into pyrevitlabs:dev/pr1583 Sep 3, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Sep 3, 2022

📦 New work-in-progress (wip) builds are available for 4.8.12.22246+2301-wip

@github-actions
Copy link
Contributor

github-actions bot commented Sep 3, 2022

📦 New work-in-progress (wip) builds are available for 4.8.12.22246+2308-wip

@github-actions
Copy link
Contributor

github-actions bot commented Sep 3, 2022

📦 New work-in-progress (wip) builds are available for 4.8.12.22246+2328-wip

sanzoghenzo pushed a commit to sanzoghenzo/pyRevit that referenced this pull request Jan 20, 2023
The previous script outputs the revision list straight from a FilteredElementCollector, so the list of revisions are not necessarily in numerical order. This change gathers the revision numbers and revision data in a rev_data list prior to adding them to the rev_table string, that way they can be sorted first.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants