A PyRevit tool that scans appearance assets in a Revit model and reconnects missing texture file paths.
It searches for texture files by filename across one or more user-defined root folders and remembers those folders across sessions.
Revit often loses texture links when projects are moved or shared.
This tool automatically finds and reconnects those missing texture files based on their filenames within your texture library folders.
It is lightweight, safe to run, and operates inside a controlled Revit transaction.
- Relinks missing material textures by filename
- Searches multiple root folders recursively
- Remembers folders across sessions
- Automatically includes the current project folder
- Displays unresolved textures in the PyRevit output panel
- Built-in help popup for quick onboarding
- Safe and reversible transaction scope
- Designed for the Materials tab in the SwichTools extension
The bundle follows the PyRevit standard layout so it can load directly when placed in your extensions directory.
Copy the entire folder to:
E:\Users[username]\AppData\Roaming\pyRevit-Master\extensions\
Then restart Revit or reload extensions from the PyRevit settings window.
You can manage the repository through Git by cloning it directly into your extensions directory if you maintain version control for your tools.
- Open your Revit model.
- Go to the Materials tab → Repair panel → Relink Textures.
- The menu gives you these options: hover the cutton to Show quick help popup
- r: Run the relink process
- m: Manage or add search folders
- c: Cancel
- Add the top-level folders where your texture libraries live.
- Run the search and relink process.
- Check the PyRevit output panel for unresolved texture names.
- Autodesk Revit 2023 or later
- PyRevit 5.3 or newer
- Windows 10 or newer
This project is open source under the Apache License 2.0.
You are free to use, modify, and distribute this software for personal or commercial purposes.
See Apache License 2.0 for full details.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Created by Roi Hason Swich Design
Built for production-ready BIM environments using PyRevit
Designed for the Materials tab in the SwichTools extension
This tool keeps Revit projects visually consistent by fixing broken material texture links quickly and safely.
Ideal for teams sharing models between workstations or migrating large material libraries.
