Batch conversion of RVT files

Batch conversion of RVT files

Anonymous
Not applicable
1,220 Views
3 Replies
Message 1 of 4

Batch conversion of RVT files

Anonymous
Not applicable

Hi,

 

I have written a custom exporter to export Revit data (geometry, materials) to our own proprietary format. I want to check whether is it possible to invoke this export process from commandline or from outside Revit environment through a script. The purpose is to write a script to batch convert Revit files to our own proprietary format. 

 

Thanks in advance. 

0 Likes
1,221 Views
3 Replies
Replies (3)
Message 2 of 4

L.Maas
Mentor
Mentor

In what way have you written that custom exporter, is this an add-in? In that case could you not write a part that you would do the batching (Revit API forum might help)? Maybe you can give a more information what  and how you have done it so far?

 

A potential solution might be using journal files. This is/was used to batch upgrade Revit families to the new Revit version. A potential other solution might be to make use of automation tools of Dynamo.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

0 Likes
Message 3 of 4

Anonymous
Not applicable

Yes, this is a addin which implements custom exporter.
Right now, i need to press addin button to parse 3D data of a 3D view in Revit.

Is there any way this can happen automatically on Application startup rather than via  onclick addin button ?

This is what I am trying to achieve:
I want to select a set of revit files from folder, and my solution should export each revit file to our own proprietary 3D format, without manual intervention.

0 Likes
Message 4 of 4

L.Maas
Mentor
Mentor

If you control the source code of the add-in it should not be too complicated to write a function to load some files and then perform some other actions. Revit API has an onstartup function so that should also be possible. For more detailed code questions better head over to the Revit API forum.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

0 Likes