PDA

View Full Version : Can't delete unused plan view



patricks
2010-08-10, 02:46 PM
A user created a plan view by creating a new level. We decided to instead create the same plan using an existing level line.

Now when I try to delete the view, I get an error saying "This action has caused deletion of non-editable Workset 'View "Floor Plan: <view name>" with the view name being the one I'm trying to delete. If I click "Make Elements Editable" in the error box, it keeps popping up the same error 4 or 5 times, and then finally only gives me the option to Cancel.

If I try to delete the level line used to create the view, I get the same error.

It says I am the editor of both the plan view and the level that are not needed, yet it won't let me delete the view or the level. What gives??

I have to get this stuff out of here because this level line is showing up all over my elevation and section views.

cliff collins
2010-08-10, 03:05 PM
Can you go back to a prior version of the file, if your server has shadow copies enabled, and before the "new Level" was created?

cheers

patricks
2010-08-10, 03:13 PM
heh nah, too much work has been done since then.

I ended up using a "debug.ini" file that was mentioned in another thread.

Just start a notepad file, place this text in it:

[DebugModes]
AllowDeletionOfNonEmptyWorkset=1

And save it as debug.ini in your Revit program directory (same location as the Revit.ini file). Opened Revit, opened project, deleted offending view and level, closed Revit, and removed the debug.ini file from the directory. I actually just renamed it debug.bak in case I ever need it again.

I tried placing those 2 lines of code in the Revit.ini file, but that didn't work. It needs to be a separate file, and when you launch Revit it will pop up a window saying something about the debug mode, which you just close.

cliff collins
2010-08-10, 03:17 PM
Cool! Good tip.

cheers

patricks
2010-08-10, 03:21 PM
Here is the thread I found on the same topic:

http://forums.augi.com/showthread.php?t=84855

Post #5 contains a zip file with the debug.ini file, or you can just create it as I described above.