Maniphest T101267

Python Error ( Not able to add CAD DWG file)
Closed, Archived

Assigned To
Shripad Phase (shridesign)
Authored By
Shripad Phase (shridesign)
Sep 22 2022, 9:16 AM
Tags
  • Add-ons (Community)
Subscribers
Erik Abrahamsson (erik85)
Germano Cavalcante (mano-wii)
Shripad Phase (shridesign)

Description

Python: Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_import_dxf\__init__.py", line 521, in execute
  read(self.report, self.filepath, merge_options, self.import_text, self.import_light, self.export_acis,
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_import_dxf\__init__.py", line 101, in read
  errors = do.entities(os.path.basename(filename).replace(".dxf", ""), new_scene)
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_import_dxf\dxfimport\do.py", line 1609, in entities
  self.combined_objects((en for en in self.dwg.modelspace() if is_.combined_entity(en)), scene)
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_import_dxf\dxfimport\do.py", line 1513, in combined_objects
  o = self._call_object_types(TYPE, by_att, group, name, scene, False)
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\addons\io_import_dxf\dxfimport\do.py", line 1362, in _call_object_types
  o = type_func(entity, scene, name)

TypeError: 'NoneType' object is not callable

Event Timeline

Shripad Phase (shridesign) created this task.Sep 22 2022, 9:16 AM

I am Not able to add CAD DWG file,
kindly please help

Erik Abrahamsson (erik85) added a subscriber: Erik Abrahamsson (erik85).Sep 22 2022, 10:09 AM

You say DWG but are using the DXF importer. That's not the same file format and should not work.

Germano Cavalcante (mano-wii) closed this task as Archived.Sep 22 2022, 2:25 PM
Germano Cavalcante (mano-wii) added a subscriber: Germano Cavalcante (mano-wii).

Thanks for the report, but unfortunately this can't be triaged as a complete bug report.

For the development team to be able to help, there needs to be reproducible steps (start blender, press this, then that ...)

Please submit a new report and carefully follow the instructions. Be sure to provide system information, Blender version, the last Blender version which worked, and a .blend file with exact steps to reproduce the problem.

A guideline for making a good bug report can be found at https://wiki.blender.org/wiki/Process/Bug_Reports

Shripad Phase (shridesign) claimed this task.Sep 23 2022, 6:39 PM

Thank you so much for your response
I am unable to import AutoCAD DXF files and
I am also unable to use the shortcut key Tab to switch from object mode to edit mode.
I would appreciate you guiding me and rectifying the query