I want to add custom properties on objects and export them with alembic, then read them from another software. like in maya AbcExport -j .. - attr foo -attr bar ..


1 Answer 1


I write a function to do this:

    name = validate_name(name)

    class CustomProperty(bpy.types.PropertyGroup):
        custom_property: bpy.props.StringProperty(name=name)

    mesh_data = mesh_obj.data

    mesh_data[name] = value
    bpy.types.Mesh.my_properties = bpy.props.PointerProperty(type=CustomProperty)```

a reference file to useful blender functions [Djed][1]

  [1]: https://github.com/Michaelredaa/Djed

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .