pyrevitlabs / pyRevit

Rapid Application Development (RAD) Environment for Autodesk Revit®
http://wiki.pyrevitlabs.io
GNU General Public License v3.0
1.33k stars 338 forks source link

PyRevit Wipe Tool- Remove Unsheeted Views #592

Closed Robbo1234 closed 4 years ago

Robbo1234 commented 5 years ago

Describe the bug Ran the PyRevit Remove Unreferenced Views and I notice it also removed views place on sheets.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'PyRevit Wipe'
  2. Click on Wipe model Component
  3. Scroll down to and tick any of the Remove Unreferenced Views remove Reference Views'
  4. Click Wipe Model
  5. 'PyRevit Wipe' removes Unreferenced Views and aswell as Reference Views.

Expected behavior 'PyRevit Wipe' should only remove Unreferenced Views and retain Reference Views i.e views placed on sheets.

Screenshots image

*Desktop (please complete the following information):**

Robbo1234 commented 5 years ago

Just noticed a typo.

image

eirannejad commented 5 years ago

The views on the sheet, how were they referenced?

Robbo1234 commented 5 years ago

They were manually placed on Revit sheets.

Robbo1234 commented 5 years ago

I'm looking to remove all Revit Views that are not placed on Revit Sheets.

eirannejad commented 5 years ago

That's "unsheeted" views. The views that you have on your sheets are correctly being deleted since they are not referenced by any other view.

Robbo1234 commented 5 years ago

My understanding of Revit Reference Views is that when Revit View is placed on a Revit Sheet then it becomes referenced. i.e. it gets a view number and a sheet number (referenced)

Can PyRevit Wipe remove Revit Views that are not placed on Revit Sheets?

On Thu, 9 May 2019 at 15:48, Ehsan Iran-Nejad notifications@github.com wrote:

That's "unsheeted" views. The views that you have on your sheets are correctly being deleted since they are not referenced by any other view.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eirannejad/pyRevit/issues/592#issuecomment-490936183, or mute the thread https://github.com/notifications/unsubscribe-auth/ACC6Z44OM5ETQFDHNWYOROLPUQ2UTANCNFSM4HL2TYQQ .

eirannejad commented 5 years ago

Added that to list of improvements

Robbo1234 commented 5 years ago

Thanks, Ehsan

On Thu, 9 May 2019 at 16:17, Ehsan Iran-Nejad notifications@github.com wrote:

Added that to list of improvements

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eirannejad/pyRevit/issues/592#issuecomment-490947471, or mute the thread https://github.com/notifications/unsubscribe-auth/ACC6Z45ON7KES235XICBTALPUQ57XANCNFSM4HL2TYQQ .

alexdaversa commented 4 years ago

@eirannejad Looks like this was added, right? Sorry to revive an old issue thread, but I think you can close this one out. image

eirannejad commented 4 years ago

I think so :D Ok closing but feel free to open again if needed