AttributeError: 'Mesh' object has no attribute 'face_name'

Hi,

Me and some collegues are trying to get the following example to run This 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

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…

I thought this already yes, thank you for replying!