-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
data import scripting #816
Comments
I actually ran into a similar need of batch-importing rasters a few days ago. I found a solution from issue #754 Likewise, you can simply call the import bpy
shp_files = [#List of shp file paths]
for path in shp_files:
bpy.ops.importgis.shapefile(filepath=path) Note that you need to use keyword arguments (i.e.
|
perfect, this is what I was looking for. Thank you very much!! |
Blender and OS versions
Blender 3.2.1 Windows 10
Describe the bug
Is it possible to perform data import (.shp with BlenderGIS) through the scripting interface?
How to Reproduce
I'm working on a project in which I automate the conversion of building footprints and floor plans (shapefiles) into 3D building models using Blender. Currently, I import the shapefiles manually, but I also want to automate this step.
Thank you in advance!
Error message
The text was updated successfully, but these errors were encountered: