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.
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
Please mention Revit version, especially when uploading Revit files.
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.
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
Please mention Revit version, especially when uploading Revit files.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.