I am currently working on a gis project, the client provided me with over 1000 single dxf files (buildings) which I would like to import into a landscape mesh. Since I would really like to avoid to do this manually, I would like to ask if someone knows a way to automate this .
Attached is my current batch import script, which takes a variety of formats including dxf. Each file is imported into a layer which corresponds to the file name. It imports all files of the chosen type found in a single folder (does not do subfolders).
However, if you are not looking to have separate layers for the files (1000 layers is difficult to manage), then you donât need the script - just browse to the folder where the dxfâs are located, select all (or just the files you want), drag and drop the whole thing into an open Rhino window (blank file) and choose âImportâ from the dialog box that comes up. Then let all your files import - all objects will go to the current layer.
I was looking for a solution to allow me importing ânâ step files directly in Grasshopper
your script does exactly what i need ( i.e. importing the N files and placing in different layers" but it does it in rhyno . I would like to start this process not from Rhino but directly form GH thus to allow me porcessing the geometries and all informations contained in the their names.
I am quite familiar with GH now but no yet experienced in VB script, i know that there is a VB script component in GH but i have no clue on how to use your script inside of it.
If you know how to launch the script from GH in order to get filenames and geometries in GH ( + in rhino separated in different layers ) and if you are willing to help me Iâd really really appreciate
Just wanted to say thanks - I was having issues batch importing STEP files. For some reason pasting in multiple lines copied from text file (with -_import command & each file name) only brought in the first one - even shutting off import option warning screen.
Supper handy today that I had to figure out which Loc-line components to buy for a prototype. Their website has this level of access to their CAD parts, so I was able to import it all in one shot: