Hello all,
When I add a Porous Zone on my CFD model, the task menu that usually opens does not. On the Traceback it appears the following lines:
14:44:25 Traceback (most recent call last):
File "C:\Users\marolas\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdZone.py", line 251, in setEdit
taskd = _TaskPanelCfdZone._TaskPanelCfdZone(self.Object)
File "C:\Users\marolas\AppData\Roaming\FreeCAD\Mod\CfdOF\_TaskPanelCfdZone.py", line 46, in __init__
self.NeedsCaseRewriteOrig = self.analysis_obj.NeedsCaseRewrite
<class 'AttributeError'>: '_TaskPanelCfdZone' object has no attribute 'analysis_obj'
I assume there might be something wrong with the files FreeCAD is telling, so I attach both _TaskPanelCfdZone.py and CfdZone.py files too.
I know that even without the task menu you can input the necessary data via the propierties and values that appear below, but I do prefer the menu as it is more intuitive.
Thanks so much for your help.
Marc.
Porous Zone Task Menu does not open
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Porous Zone Task Menu does not open
- Attachments
-
- CfdZone.py
- (13.17 KiB) Downloaded 25 times
-
- _TaskPanelCfdZone.py
- (16.34 KiB) Downloaded 25 times
Re: Porous Zone Task Menu does not open
Read "Important..." and "Please.." above, then edit your post accordingly. Also post your model.
- oliveroxtoby
- Posts: 837
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: Porous Zone Task Menu does not open
Please could you check again after updating the workbench? I suspect this is a bug that was fixed a while ago.marolas wrote: ↑Tue Jun 28, 2022 12:51 pm Hello all,
When I add a Porous Zone on my CFD model, the task menu that usually opens does not. On the Traceback it appears the following lines:
14:44:25 Traceback (most recent call last):
File "C:\Users\marolas\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdZone.py", line 251, in setEdit
taskd = _TaskPanelCfdZone._TaskPanelCfdZone(self.Object)
File "C:\Users\marolas\AppData\Roaming\FreeCAD\Mod\CfdOF\_TaskPanelCfdZone.py", line 46, in __init__
self.NeedsCaseRewriteOrig = self.analysis_obj.NeedsCaseRewrite
<class 'AttributeError'>: '_TaskPanelCfdZone' object has no attribute 'analysis_obj'
I assume there might be something wrong with the files FreeCAD is telling, so I attach both _TaskPanelCfdZone.py and CfdZone.py files too.