Tuesday, May 5, 2015

Free Link/Import DWGs from CSV Macro for Revit (Updated)

From the ArchSmarter website...

This Revit macro links or imports multiple DWG files into the current model file. The macro reads a CSV file that contains the full path for the DWG files as well as the floor plan views in which to insert the files.

The macro starts by loading a dialog box prompting you to select the CSV file. You can also specify whether to link or import the DWG files.

Once you've selected the CSV file and clicked the "OK" button, the macro reads the file then loops through the data in each row of the CSV file. It checks if the specified file and specified view exists. If they do, the macro links or imports the file. If either the file or view does not exist, the macro alerts you that the file cannot be linked.

The macro links the files using the black and white color mode and places matches the DWG's origin to the model origin. Insertion units are set to the default value of the model file. All of these settings can be changed by editing the "curOptions" variable in the macro code.

There's more information available on the ArchSmarter website.

To get the free Link/Import DWGs from CSV macro, which is part of the ArchSmarter Toolbox, one must subscribe to ArchSmarter's email updates.

No comments: