DualSPHysics / DesignSPHysics

Module for FreeCAD intended to use with DualSPHysics fluid simulator.
Other
111 stars 40 forks source link

AttributeError #172

Closed InamulHusain closed 7 months ago

InamulHusain commented 10 months ago

Hello, can anyone know this issue ?

DesignSPHysics version: 0.7.0 (15-09-2023) Platform: Windows-10-10.0.19045 FreeCAD Version: 0.21.1 Exception type: <class 'AttributeError'> Exception value: 'Case' object has no attribute 'add_object_to_sim' Traceback:

File "C:\Users\User\AppData\Roaming\FreeCAD\Mod\DesignSPHysics\mod\widgets\dock\dock_pre_processing_widget.py", line 301, in on_newdoc_menu self.on_new_from_freecad_document() File "C:\Users\User\AppData\Roaming\FreeCAD\Mod\DesignSPHysics\mod\widgets\dock\dock_pre_processing_widget.py", line 183, in on_new_from_freecad_document Case.the().add_object_to_sim(SimulationObject(CASE_LIMITS_OBJ_NAME, -1, ObjectType.SPECIAL, ObjectFillMode.SPECIAL))

imestevez commented 9 months ago

Could you give more details about that issue? What action did you execute to get that message?