Skip to content

PyRevit extension enabling batch export of ifc files from Revit, and some other tools

Notifications You must be signed in to change notification settings

tcosse/pyRevit_IFC_Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

This is a pyRevit custom extension I designed to help me out with some tasks.

The highlight of this pyRevit extension is the IFC Export tool. This utility enables the user to batch export multiple Revit Files. It takes as input a JSON export settings file and and IFC Mapping txt file.

How to install

1- Clone this repo

2- Install the pyRevit Plugin (free)

3- Go to the pyRevit Settings

image

image

4 - In the "Custom Extension Directories", and add the "pyRevitExtensions" folder you just cloned

image

5- Tada ! Now a new tab named "Custom Tools" should appear

image

How to use the IFC batch export tool

The tool has two different use cases :

-If there is one or more active documents in the session, only the active file will be exported

-If there is no active document, the user will be asked to select the revit files to export. These file will be opened and exported in the background.

For each file, the program exports all the views containing 'IFC' in their name. Each file is exported to the output folder prompted by the user with the following name : "revitfilename - viewname"

The script also creates a default view with settings that are specific to SNCF G&C's needs (medium detail level, no subcategories...)

The tool retrieves all the settings of the ifc export from the json file, the ifc mapping file and the output folder

Limitations : Only works for IFC 2x3 CV2 and default phase Option for exporting linked model files does not work

About

PyRevit extension enabling batch export of ifc files from Revit, and some other tools

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages