PDA

View Full Version : Revit program to delete things from project browser



Dave Lewis
2008-04-16, 12:38 AM
On this project I'm a MEP consultant who gets models from an Architect. In order to cleanup their model and cut down on file size I do the following listed below on every project. I do this weekly as we get updates. What I would like to know is can I write some sort of Revit addon application that could automate this process?



Step 1 - Detach from Central
Make sure there is a copy of the model on the network in the coordination \ Incoming folder. Use the open command and make sure to use the Detach from Central option.
Most likely Revit will give you error messages that it cannot find Revit or CAD files, since you do not have the same network drive layout. Just hit OK to these prompts.


Step 2 - Remove Links
Open the Manage Links dialog (File > Manage Links)
Highlight all of the CAD formats and remove them
Repeat on the Revit and DWF Markup tabs


Step 3 - Remove views
First change the project browser to a more manageable format.
Click Settings > Browser Organization

This step will make it easier to delete view types. Delete all 3D Views, Elevations, Sections, Detail Views, Drafting Views, Walkthroughs, Legends, Schedules and Sheets. Expand each view type, multi select all the views you want to delete, then right click and hit delete


Step 4 - Remove unnecessary model elements.
Look at the model in 3D and view some of the plan views and remove any unnecessary elements that are not needed for coordination purposes. Delete items like Topo, Site objects, Drafting lines, etc


Step 5 - Purge
File > Purge Unused.
This will remove any unused families and groups thus lower the model size.

dbaldacchino
2008-04-16, 02:04 AM
Dave, why not just link the Architectural into the MEP project?

If the Architectural is so lare that you want to get rid of all drafting views, etc, an easier way to accomplish what you're trying to do without any need for custom programs is to go to a 3D view, turn visibility oy everything you care to see, window select everything and group it. Then save out the group.

Dave Lewis
2008-04-17, 10:58 PM
We do link in the arch model
Going through my procedure cuts a 138mb arch model down to 83mb
Thats a 40% reduction to file size which aids computer performance.
Thats just one model
Stripped out we have 12 arch models for a total of 241mb
Plus the structural

Anyways doing as you propose looses the grids & phases and I am sure some other things.

Again I need an app to automate the process

dbaldacchino
2008-04-18, 12:18 AM
You can group grids with the rest of your geometry in a plan view. Do a window select in 3D, then go to a plan view and select your grids (you can do another window select there...hold your CTRL button). You can now group as before and save it out as a RVT file.

As to phasing, you're right; it gets lost. I can't believe this hasn't been fixed yet. I believe it's been confirmed as a bug before.

GuyR
2008-04-18, 12:32 AM
Dave,

Yes you can do all this, some of it isn't straightforward though. If you're not a proficient programmer then maybe it would be easier to whip up a custom journal file....

HTH,

Guy