martijnberger / pyslapi

Python bindings for the official Sketchup API
236 stars 133 forks source link

Error importing Sketchup-file #36

Open jorismeuleman opened 4 years ago

jorismeuleman commented 4 years ago

I get the following error in Blender 2.82a while importing a sketchup-file. I do not have Sketchup. The file is from a company that designed my garden.

Traceback (most recent call last): File "C:\Users\Joris\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\SketchUp_Importer__init.py", line 868, in execute context, **keywords) File "C:\Users\Joris\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\SketchUp_Importer__init__.py", line 184, in load self.write_duplicateable_groups() File "C:\Users\Joris\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\SketchUp_Importer\init__.py", line 237, in write_duplicateable_groups group = bpy.data.groups.new(name=gname) AttributeError: 'BlendData' object has no attribute 'groups'

location: :-1

mrbeandev commented 3 years ago

Check if you have added groups in your SketchUp file

Make some objects into group and try again

It should work !!