MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / has_attribute

Method has_attribute

python/pymesh/Mesh.py:68–71  ·  view source on GitHub ↗

Check if an attribute exists.

(self, name)

Source from the content-addressed store, hash-verified

66 self.__mesh.add_attribute(name)
67
68 def has_attribute(self, name):
69 """ Check if an attribute exists.
70 """
71 return self.__mesh.has_attribute(name)
72
73 def get_attribute(self, name):
74 """ Return attribute values in a flattened array.

Callers 6

save_meshFunction · 0.45
__add_attributeMethod · 0.45
assert_mesh_equalMethod · 0.45
map_vertex_attributeFunction · 0.45
map_face_attributeFunction · 0.45
map_corner_attributeFunction · 0.45

Calls

no outgoing calls

Tested by 1

assert_mesh_equalMethod · 0.36