Python Error ( Not able to add CAD DWG file) #101267

Closed
opened 2022-09-22 09:16:34 +02:00 by Shripad Phase · 8 comments

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

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
Author

Added subscriber: @shridesign

Added subscriber: @shridesign
Author

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

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

Added subscriber: @erik85

Added subscriber: @erik85

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

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

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Archived'

Changed status from 'Needs Triage' to: 'Archived'

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

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 self-assigned this 2022-09-23 18:39:47 +02:00
Author

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

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
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#101267
No description provided.