# Mesh.set\_face\_attribute missing

**URL:** <https://forum.compas-framework.org/t/mesh-set-face-attribute-missing/383>\
**Category:** compas\
**Created:** [September 27, 2020, 12:39pm UTC](https://forum.compas-framework.org/t/mesh-set-face-attribute-missing/383 "2020-09-27T12:39:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sercan](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@sercan](https://forum.compas-framework.org/u/sercan)\
**Post date:** [September 27, 2020, 12:39pm UTC](https://forum.compas-framework.org/t/mesh-set-face-attribute-missing/383/1 "2020-09-27T12:39:36Z")

</div>

Hi. I have been using COMPAS version 0.13.3 and recently upgraded to 0.16.2.  
I am missing `set_face_attribute` for `Mesh`:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/compas_framework1/original/1X/bd1918ab9650af4390e730456106c06e3ef125c6.png)  
Could you give some hint where they moved to?  
Thanks!  
Selen

---

<div class="post-metadata">

**Author:** ![sercan](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@sercan](https://forum.compas-framework.org/u/sercan)\
**Post date:** [September 27, 2020, 12:47pm UTC](https://forum.compas-framework.org/t/mesh-set-face-attribute-missing/383/2 "2020-09-27T12:47:13Z")

</div>

And the same goes for `get_vertices_attributes` - what did it change to in version 0.16.2?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/compas_framework1/original/1X/58a5d888f2f9bfc8b681296e5034af93e6852d8c.png)

---

<div class="post-metadata">

**Author:** ![gonzalocasas](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/gonzalocasas/32/127_2.png) [@gonzalocasas](https://forum.compas-framework.org/u/gonzalocasas)\
**Post date:** [September 27, 2020, 2:27pm UTC](https://forum.compas-framework.org/t/mesh-set-face-attribute-missing/383/3 "2020-09-27T14:27:29Z")

</div>

All these methods are now the same except the prefix `set` and `get` is gone, eg. `mesh.face_attribute('foo')` gets the `foo` attribute and `mesh.face_attribute('foo', 700)` sets that same attribute to the value 700.

> **[COMPAS - Mesh.face\_attribute](https://compas.dev/compas/api/generated/compas.datastructures.Mesh.face_attribute.html#compas.datastructures.Mesh.face_attribute)**

---

<div class="post-metadata">

**Author:** ![sercan](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@sercan](https://forum.compas-framework.org/u/sercan)\
**Post date:** [September 28, 2020, 8:08pm UTC](https://forum.compas-framework.org/t/mesh-set-face-attribute-missing/383/4 "2020-09-28T20:08:35Z")

</div>

ok, all clear, thank you Gonzalo! 🙂
