Revit plugin
The Molding add-in puts an AI chat inside Revit. You describe a family in a sentence and Molding builds it as a real Revit family (.rfa) and loads it into your project; select a family Molding made and describe a change to edit it. You never open Revit's Family Editor.
Install
- Close Revit.
- Download Molding for Revit (Windows installer,
.msi) and run it. It installs for your Windows user only — no administrator rights needed. - Start Revit. The first time, Revit asks whether to load the add-in (the installer is not code-signed yet): choose Always Load.
- A Molding button appears on the ribbon's Add-Ins tab. Pressing F1 on it opens this page.
Supported versions: Revit 2022 – 2027. Revit LT cannot run add-ins. The chat needs an internet connection and a 3dshouse account (see Sign in).
Uninstall: Windows Settings → Apps → Installed apps → Molding for Revit → Uninstall.
From source (developers): .\revit\install.ps1 <RevitVersion> registers a local build; .\revit\install.ps1 -Uninstall removes it.
The chat window
Click Add-Ins → Molding. The window is one chat: a status line at the top, the conversation, and a box to type in (Describe a family or a change). Enter sends, Shift+Enter adds a line. The model only writes a family definition (see JSON format); the same checks and the same builder as everywhere in Molding then judge it, and Revit builds it. The model never writes Revit calls.
Create or edit: decided by your selection
Before every message Molding reads what is selected in the open project. The status line at the top shows the result:
| Selection | Status line | What a message does |
|---|---|---|
| Nothing | New family | Creates a new family. |
| One placed family that Molding made | Editing: <family name> | Edits that family. |
| One placed family Molding did not make (no Molding data) | Cannot edit: <family name> has no Molding data | Refused (familyHasNoData). Select nothing and describe the family to start from scratch. |
| Several elements | Cannot edit: several elements are selected | Refused (ambiguousSelection). |
| One element that is not a loadable family (a wall, an in-place family, ...) | Cannot edit: the selection is not a family | Refused (selectionNotFamily). |
The selection is read again when you send and when the window regains focus. Revit selects placed instances, so to edit a family select any one instance of it. A family has Molding data when Molding itself loaded it into the project: the add-in stores the definition the family was built from on the project's Family element. A family you loaded from a file by hand has none, so Molding never replaces it.
Creating a family
Describe it ("a base cabinet with a shelf and a door, 600 wide, 560 deep, 720 high, in 400 / 600 / 800 widths"). A New family card appears with the name, category, parameters and types of what was understood, and Revit builds it as a .rfa in Documents\Molding\Families (the card shows the path). Then:
- Place in project loads the family into the open project and stores its Molding data. Revit's own placement then starts for the family's first type: click in the view named on the card to place it (as many times as you like) and press Esc when you are done. While it runs the chat waits and shows Placement running in Revit. If Revit cannot start the placement, the card says why; the family is still loaded and in the Project Browser under Families.
- Reveal in Explorer opens the folder with the file selected. A
.rfayou load by hand works as any family, but it has no Molding data, so it cannot be edited with the chat later. - Build again appears only when the build was refused (see below).
Editing a family
With one Molding family selected, describe the change ("make it 800 wide by default", "add a shelf"). An Editing: + added, - removed or ~ changed, with the details below it. The card says Apply replaces this family in the project; changes made by hand in the Family Editor will be lost: an edit rebuilds the family from its definition and loads it over the old one, it does not patch the old family. Then:
- Apply to project replaces the family in the project (the card reads
was replaced in the project. ). Placed instances stay. - Save .rfa writes the new version to a file instead of touching the project; Reveal in Explorer then shows it.
- Cancel closes the card with nothing changed.
An edit that would lose data on placed instances (a parameter removed, an instance parameter changing type, binding or sharing) is not applied at once: the chat answers with the exact changes in a warning card with two buttons, Confirm and Cancel. Confirm sends your answer as the next message and the edit then continues. Revit's overwrite load adds and updates family types but does not delete or rename them: a type you removed or renamed in the edit stays in the project with its old values (measured in Revit 2023; the diff does not say so).
If the request leaves out facts that decide the family (for a cabinet: its layout of doors and drawers, its sizes and the dimension standard), the chat asks up to three questions with a few options each, once, before it builds anything; asking costs no credits. Answer in your next message, choosing an option or typing your own, or ask for the defaults. A fact no option list can offer (your own office standard, say) is asked as one plain question. After the family is made, the reply lists every value the chat chose that you did not state, so a wrong default costs one edit sentence, not a rebuild.
When something is refused
A refusal is a red card with the code (a short identifier such as capabilityUnsupported), one plain sentence, and an Instead: line saying what to send instead. Nothing is built or saved. Findings from the family checks, if any, are listed under it as path: message. The codes are defined in api/_agentCodes.js in the source; the chat page and the server share that one list.
Two refusals come after the model, from Revit itself: runnerRefused lists Revit's own errors and warnings word for word (Error: / Warning:), and loadFailed is shown when Revit could not load the family. Molding refuses a build on any Revit error or warning, because a warning means something did not make it into the family as declared; you never get a family that silently differs from what was described.
Sign in
The chat runs on the Molding server, so it needs your 3dshouse account. Without one, the first message answers notSignedIn and the card has a Sign in button; send the message again afterwards. Molding stores how many tokens each account uses per day and the code of each refusal; it does not store what you type (see the Privacy Policy).
What you type, the conversation so far and, when you edit, the definition of the selected family are sent through the Molding server to the model provider to produce the answer. Nothing else about your project is sent.
What the chat can and cannot make
It makes one Revit family per request, in any category Molding has a contract for (see Category and template). It does not change the project (no placing instances, views, sheets or schedules) and produces nothing but a family. Anything the family format cannot express is refused as capabilityUnsupported, with the missing capability named, rather than left out silently. The chat produces the same format the browser editor does, described in the reference pages.
Designing a family by hand
The browser editor remains the way to build a family node by node: open the catalog and fork a family, or click New in the header (see Getting started). The editor saves families to your account, publishes them to the catalog and exports them as .json. The Revit add-in does not list the catalog and has no editor: its window is the chat.
A family is built only when every part of it made it into Revit as declared: if a node, a constraint, a formula or a property could not be built, or Revit raised any warning, the build stops with an error naming it and nothing is added to the project.
The built family is fully parametric: Revit's own solver handles recomputation when parameters change. No Molding plugin is needed at runtime — only to create or edit it.
The generated family
Molding generates the full constraint apparatus for you:
- Reference planes — one per unique parametric coordinate axis. These construction planes are set to Not a Reference, so they never show up when you dimension or align to the family in a project. The reference planes you add yourself (Reference Plane node) keep the name and Is Reference strength you give them, and follow their offset parameter.
- Dimensions — labelled and associated to their parameters.
- Family parameters — fully wired so Revit's solver flexes the geometry.
- Voids — a form with Solid switched off cuts every solid form it overlaps, exactly as in the preview.
- Thumbnail — the family's preview image is rendered from its 3D view, shaded with edges.
Family Category and Parameters
The Types tab's FAMILY section holds Revit's own family switches — Work Plane-Based, Always Vertical, Cut with Voids When Loaded, Shared and Room Calculation Point. Each is a three-way dropdown:
- Template — leave the
.rft's own setting alone. This is the default. - Yes / No — set the switch explicitly on the generated family.
Below the switches are OmniClass Number (the codes Revit's OmniClass table files under the family's category) and, on the MEP categories that have one, Part Type. Both start at Template as well; see Family settings for the values each takes.
These are plain on/off switches on the family, not parameters: Revit offers no way to associate one to a family parameter, so they cannot flex per type or per instance. If the template's category does not offer a switch you set, the build stops with an error naming it rather than ignoring you.
The family will be dense in the Family Editor (many planes and dimensions), but nobody reads it there. The chat and the Molding editor are the design surfaces; the family is a generated artifact.
Saving and reopening a design
Save JSON(💾 in the editor toolbar) exports the family as a.jsonfile you can share or check into version control.- In the browser, families you saved are under My models in the header (signed in); open one with Open in editor on its family page.
- Families in the browser catalog (/online) can be forked — the fork icon on a catalog card (tooltip
Fork family) or the Fork button on the family page — and customised as your own. Forking needs you to be signed in.
Troubleshooting
addinOutdated — your add-in reads an older format version than the server writes. Download the installer, run it, restart Revit.
familyFormatTooNew — the selected family's Molding data was written by a newer Molding than your add-in reads. Install the current add-in.
"The Molding chat runs inside Revit" — the chat page was opened in a plain browser. It reads the Revit selection and builds in Revit, so it works only in the window the add-in opens.
runnerRefused — Revit raised an error or warning while building. The lines under the code are Revit's own words. Change the request so the family avoids it, and send it again.
loadFailed — Revit built the file but could not load it into the project. Try Place in project again; if it fails again, Reveal in Explorer and load the .rfa by hand (that family then has no Molding data).
The window cannot reach the server — the chat page needs molding.3dshouse.com. Check the connection and reopen the window.
Geometry looks wrong in the browser preview but correct in Revit (or vice versa) — the web preview and Revit each evaluate the same family definition, but the preview is approximate for some forms (revolution, sweep). Revit is authoritative.