Access boolean attributes from bmesh

Is it possible to access boolean attributes from bmesh? I’ve added boolean per-edge attribute in the code below and checked all the available edge layers but none of them have my boolean attribute.

bpy.ops.geometry.attribute_add(name="test", domain='EDGE', data_type='BOOLEAN')
bpy.ops.geometry.attribute_add(name="test_int", domain='EDGE', data_type='INT')

bm = bmesh.new()
bm.from_mesh(bpy.context.object.data)
bm.edges.layers.bevel_weight.keys()
bm.edges.layers.color.keys()
bm.edges.layers.crease.keys()
bm.edges.layers.float.keys()
bm.edges.layers.float_color.keys()
bm.edges.layers.float_vector.keys()
bm.edges.layers.freestyle.keys()
bm.edges.layers.int.keys()
bm.edges.layers.string.keys()
1 Like