Bake Up

Prepare a Revit project copy for handoff by ungrouping, removing links, views, filters, and global parameters, and running Purge Unused.

Bake Up performs a broad cleanup of the current Revit project before a model copy is handed to an external party. It can ungroup the model, remove links, views, filters, and global parameters, run Purge Unused, and assign the active view as the starting view.

Find the command in BIMO > Collaborate > Bake Up.

Warning: save a separate file copy before running the command. The confirmation dialog explicitly presents the action as irreversible. Do not run Bake Up in the working central model and do not rely on Undo as a recovery method.

When To Use It

  • Prepare a separate project copy for a contractor or consultant.
  • Reduce internal views, links, and configuration data in a handoff file.
  • Ungroup a model before further processing or export.
  • Apply several cleanup operations with one reusable preset.

Bake Up does not guarantee complete removal of confidential data. After execution, manually review the model, parameters, families, schedules, and remaining elements.

Requirements

  • An active Revit project is required; family documents are not supported.
  • Run the command only in a prepared file copy.
  • Before running, open the view that must remain and become the starting view.
  • Review the active preset, especially the view-exclusion rules.
  • Save important work before cleanup.

Preselection is ignored. The command works on the entire current document.

Settings

All switches are enabled by default.

Setting Default Actual behavior
Ungroup all On Ungroups all placed Model Groups. Detail Groups are not explicitly processed.
Remove CAD links On Deletes every CADLinkType that Revit reports as deletable.
Remove RVT links On Deletes every Revit Link type that Revit reports as deletable.
Remove browser organizations On Deletes every Browser Organization scheme that can be deleted.
Remove views On Deletes eligible views, sheets, schedules, and view templates except the active view and views matching an exclusion rule.
Exclude views See below Preserves a view when at least one rule matches a string parameter on that view.
Remove filters On Deletes every project ParameterFilterElement.
Remove global parameters On Deletes every Global Parameter.
Purge unused On Runs Revit's standard Purge Unused performance rule for up to four passes and deletes the collected elements.

The command supports presets and generated variants.

View Exclusion Rules

Each rule contains:

  • Parameter name β€” a view parameter name;
  • Pattern β€” a .NET Regular Expression.

A view is preserved when the parameter exists, uses string storage, and its value matches at least one regular expression.

Default rules:

Parameter Pattern
Name Navisworks
BMO_Sort01 Doc*

Pattern is a regular expression, not a wildcard pattern. The * character repeats the previous token; it does not mean β€œany text.” For example:

^Doc.*

preserves values beginning with Doc, while:

.*Navisworks.*

explicitly finds Navisworks anywhere in the value.

Without ^ and $, a match may occur inside a longer string. Matching is case-sensitive.

When the parameter is missing, is not a string, or is entered under the wrong name, the rule does not protect the view from deletion. An invalid regular expression can stop the cleanup.

What Happens When You Run It

  1. BIMO displays a confirmation warning.
  2. Declining the warning finishes the command without changes.
  3. After confirmation, all enabled operations run in one transaction named Clean Up.
  4. The active view is not deleted.
  5. After the other operations, the active view is assigned as the starting view when the document contains StartingViewSettings.
  6. BIMO displays the completion result.

Starting-view assignment runs even when every other switch is disabled.

View Removal

When Remove views is enabled, the command considers almost every document view, including:

  • plans, sections, elevations, and 3D views;
  • drafting views;
  • schedules;
  • sheets;
  • view templates.

It retains:

  • the active view;
  • Revit internal and system views;
  • views matched by at least one exclusion rule.

Deleting a sheet or view may also delete placements and dependent data according to normal Revit behavior.

What The Command Does Not Do

The current Bake Up implementation:

  • does not remove Project Parameters or Shared Parameters;
  • does not remove all materials as a separate operation, although unused materials may be included in Purge Unused;
  • does not remove worksets, primary model elements, room types, or custom instance-parameter values;
  • does not clean content inside linked files;
  • does not produce a report listing deleted elements;
  • does not provide a result preview.

Result And Model Impact

The command can substantially and irreversibly change the file structure:

  • groups become individual elements;
  • RVT and CAD link instances may disappear when their types are deleted;
  • views, sheets, schedules, and templates are removed;
  • filters and global parameters are removed;
  • Purge Unused may delete families, types, styles, and other unused resources;
  • the active view becomes the starting view.

Reopen and inspect the cleaned file before sending it.

  1. Create a separate copy of the source model.
  2. In the copy, open the view that must remain as the starting view.
  3. Configure the exclusion rules and test them against actual view names and parameters.
  4. Disable operations that are not required for this handoff.
  5. Run Bake Up and confirm the warning.
  6. Save the file under a new name.
  7. Review Project Browser, links, schedules, parameters, and file size.
  8. Send the cleaned copy only after review.

Troubleshooting

Problem What To Check
A required view was deleted Check the parameter name, string storage type, and regular expression. Restore the source file copy.
Too many views were preserved Check whether a rule matches a substring; add ^ and $ for an exact boundary.
Doc* behaves unexpectedly It is a regular expression. Use ^Doc.* to match a Doc prefix.
Cleanup stops during view removal Check Regex validity and dependencies of protected or system views.
Some links or organizations remain Revit may report those types with CanBeDeleted = false.
Project Parameters remain This is expected: the current implementation does not remove them.
The starting view changed This is expected: the view active at command start is always assigned as the starting view.

Upcoming Confirmation Update

In the development change #535, the common runtime displays the existing warning text under the command header Bake Up, after settings preparation and before cleanup starts. Declining prevents execution; preset variants use the same confirmation. This change is not included in 0.46.0-beta and does not enable MCP execution: the ExcludeViews input contract remains outstanding.

Upcoming Cleanup Report

The development change #537 replaces the generic completion message with one report shown by the common Ribbon presenter. It lists completed cleanup steps in execution order and their count. These are steps, not deleted-element counts: a completed step can be a no-op, including starting-view assignment. A successful report is returned only after the transaction confirms completion; failure does not produce it. Warning confirmation is unchanged. This is not part of 0.46.0-beta and does not enable MCP execution.

An error has occurred. This app may no longer respond until reloaded. Reload πŸ—™