# AttributeError: 'Mesh' object has no attribute 'face\_name'

**URL:** <https://forum.compas-framework.org/t/attributeerror-mesh-object-has-no-attribute-face-name/306>\
**Category:** compas\_rhino\
**Created:** [March 11, 2020, 5:20pm UTC](https://forum.compas-framework.org/t/attributeerror-mesh-object-has-no-attribute-face-name/306 "2020-03-11T17:20:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rickkrrd](https://avatars.discourse-cdn.com/v4/letter/r/a88e57/32.png) [@Rickkrrd](https://forum.compas-framework.org/u/Rickkrrd)\
**Post date:** [March 11, 2020, 5:20pm UTC](https://forum.compas-framework.org/t/attributeerror-mesh-object-has-no-attribute-face-name/306/1 "2020-03-11T17:20:53Z")

</div>

Hi,

Me and some collegues are trying to get the following example to run [This](https://compas-dev.github.io/main/api/generated/compas_ghpython.artists.MeshArtist.html#compas_ghpython.artists.MeshArtist) example to be precise.

> import compas  
> from compas.datastructures import Mesh  
> from compas\_ghpython.artists import MeshArtist  
> mesh = Mesh.from\_obj(compas.get(‘faces.obj’))  
> artist = MeshArtist(mesh)  
> artist.draw\_faces(join\_faces=True)

Result :

> Traceback (most recent call last):  
> File “”, line 1, in   
> File “C:\Users\Rick\Miniconda3\envs\Compas\lib\site-packages\compas\_ghpython\artists\mixins\faceartist.py”, line 58, in draw\_faces  
> ‘name’: self.datastructure.face\_name(fkey),  
> AttributeError: ‘Mesh’ object has no attribute ‘face\_name’

All of us got the same error, both in Conda as in GHpython.

Is the example wrong? Because compas works fine, only the artists are giving problems. It seems different problems occur on different rhino versions.

Thanks for your help.

Rick

---

<div class="post-metadata">

**Author:** ![tomvanmele](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/tomvanmele/32/13_2.png) [@tomvanmele](https://forum.compas-framework.org/u/tomvanmele)\
**Post date:** [March 11, 2020, 10:12pm UTC](https://forum.compas-framework.org/t/attributeerror-mesh-object-has-no-attribute-face-name/306/2 "2020-03-11T22:12:26Z")

</div>

the example is not wrong, but probably `compas_ghpython` has not been properly updated with the latest changes to the core library (there have been quite a few lately). would you mind filing an issue about this? it will remind me/us to take care of it…

---

<div class="post-metadata">

**Author:** ![Rickkrrd](https://avatars.discourse-cdn.com/v4/letter/r/a88e57/32.png) [@Rickkrrd](https://forum.compas-framework.org/u/Rickkrrd)\
**Post date:** [March 11, 2020, 10:31pm UTC](https://forum.compas-framework.org/t/attributeerror-mesh-object-has-no-attribute-face-name/306/3 "2020-03-11T22:31:56Z")

</div>

I thought this already yes, thank you for replying!
