I’ve got an add on for making objects parametrically. What I want is a way to specify that the mesh is immutable and thus can’t be edited.
Currently I do this by generates a new .blend file - linking the object into your scene and the addon checks every second to see if the underlying file has changed. It’s really inefficient, you can’t change the materials etc and there’s an annoying lag.
What I really want is either a way to signal blender that the file has been updated (without needing to poll) or better yet, a way to indicate that the mesh can’t be modified/edited (I’m guessing prevent creation of a Bmesh)
Is there anyway to do that in a plug-in?