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

Dev/issues/1442 #1465

Merged
merged 6 commits into from
Jan 31, 2022
Merged

Dev/issues/1442 #1465

merged 6 commits into from
Jan 31, 2022

Conversation

alexdaversa
Copy link
Contributor

trying this again...

I spent awhile, growing more surprised by the minute, searching the Revit API for a way to clear the current selection. This workaround does work, but seems particularly hacky.

alexdaversa and others added 6 commits July 31, 2020 08:28
@eirannejad eirannejad changed the base branch from master to develop January 31, 2022 01:35
@eirannejad eirannejad merged commit fdb30a2 into pyrevitlabs:develop Jan 31, 2022
@@ -1397,6 +1397,7 @@ def cleanup_sheetnumbers(doc):

# verify model is printable
forms.check_modeldoc(exitscript=True)
selection = revit.uidoc.Selection.SetElementIds(List[DB.ElementId]([revit.DB.ElementId(2147483647)]))
Copy link
Collaborator

@eirannejad eirannejad Jan 31, 2022

Choose a reason for hiding this comment

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

@alexdaversa I'm going to change this to use DB.ElementId.InvalidElementId and will add this to pyrevit.revit.selection as helper method.

RE: https://forums.autodesk.com/t5/revit-api-forum/how-to-clear-a-selection/td-p/9926146

Copy link
Collaborator

Choose a reason for hiding this comment

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

@github-actions
Copy link
Contributor

📦 New work-in-progress (wip) builds are available for 4.8.9.22031+0140-wip

@eirannejad eirannejad linked an issue Jan 31, 2022 that may be closed by this pull request
@github-actions
Copy link
Contributor

📦 New work-in-progress (wip) builds are available for 4.8.9.22031+0156-wip

@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2022

📦 New work-in-progress (wip) builds are available for 4.8.9.22032+0111-wip

@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2022

📦 New work-in-progress (wip) builds are available for 4.8.9.22032+1632-wip

@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2022

📦 New work-in-progress (wip) builds are available for 4.8.9.22032+1638-wip

@github-actions
Copy link
Contributor

github-actions bot commented Feb 8, 2022

📦 New work-in-progress (wip) builds are available for 4.8.9.22039+2254-wip

@github-actions
Copy link
Contributor

github-actions bot commented Feb 8, 2022

📦 New work-in-progress (wip) builds are available for 4.8.9.22039+2341-wip

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2022

📦 New work-in-progress (wip) builds are available for 4.8.9.22040+0150-wip

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2022

📦 New work-in-progress (wip) builds are available for 4.8.9.22040+1708-wip

@alexdaversa alexdaversa deleted the dev/issues/1442 branch February 9, 2022 17:34
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2022

📦 New work-in-progress (wip) builds are available for 4.8.11.22040+1907-wip

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2022

📦 New work-in-progress (wip) builds are available for 4.8.11.22040+1932-wip

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.

Print Sheets Selections Printing Blue
2 participants