Posted Sat, 11 May 2024 13:54:22 GMT by x Huang
I tried to use ifm drawing from the following link [], but got the following error.   Traceback (most recent call last): File "xxx\", line 19, in doc.c.plot.faces() ^^^^^ AttributeError: 'doctype' object has no attribute 'c' How does the related example [] in this repository done it? Or has this function been removed? I'm using FEFLOW 8.0, the results of ifm.getKernelVersion()  is 8000. I found an related problem from six years ago, but it seems that the last link given has expired due to the migration of the forum. Any suggestions? Plotting *.dar files... - DHI Customer Care Portal ( []
Posted Sat, 11 May 2024 14:00:19 GMT by x Huang
Uh, format has been corrupted. My error is:  doc.c.plot.faces() ---> AttributeError: 'doctype' object has no attribute 'c' ifm github repo tutorial link:  
Posted Tue, 14 May 2024 10:15:26 GMT by Carlos Andres Rivera Villarreyes Global Product Specialist - FEFLOW
If you see that the script has a line "import ifm_contrib as ifm", this means that it is not really using the standard IFM functionality. The script contains a layer above named "contribution", which is a community extension. FEFLOW standard IFM will give you all the arrays of results. These can be subsequently used by any graphical Python packages for visualization and/or plotting such as Matplotlib, PyVista, etc. You may want to visit our free self-paced course about FEFLOW Python integration. I have few official examples how to plot FEFLOW's results with Matplotlib. The link is below  
Posted Thu, 16 May 2024 06:26:51 GMT by x Huang
Thank you, I will look into it🫡. I had found the GitHub repository for ifm_contrib, and if there are no conflicts of interest, perhaps it could also be mentioned in the documentation of the software.  

You must be signed in to post in this forum.