Mesh object has no attribute 'split_edge', breaks compas.datastructures.subdivision.mesh_subdivide

Hi,
in Ipython I issue:

from compas.datastructures import Mesh
from compas.datastructures import subdivision
mesh = Mesh.from_polyhedron(6)
subd = subdivision.mesh_subdivide(mesh, scheme=‘catmullclark’, k=5)

this fails, because:
“AttributeError: ‘Mesh’ object has no attribute ‘split_edge’”

As I am just starting with this library it is entirely possible that I did something wrong, but as the example on https://compas-dev.github.io/main/examples/mesh-subd-modeling.html is slightly off, I suspected that this is an issue that fell through the cracks of a fast development pace …

thx.
Sander

I was able to repeat this error so it is not your side.

Can you please make an issue on the GitHub Issues page, as this is a bug.

Many thanks

this has been solved since v0.4.11
check your COMPAS version and upgrade if necessary

import compas
print(compas.__version__)
conda upgrade COMPAS

or

conda install COMPAS=0.4.23

if none of that solves your problem, please file an issue on the issue tracker…