# Is there a way to prevent mesh editing when importing via the API?

When appending models to a scene via the API, is there a way to prevent the end users from editing the mesh? The use would only have access to the translation and material setting properties ideally. What I am looking for is similar to Arnold Archive meshes in Maya, if anyone is familiar with how that works.

Second, by default Blender associates the object data datablock with the material. That means, the mesh datablock you have just linked in also defines what materials are assigned to the mesh. Since now the data is linked and unchangeable, you can not change the material any longer. The solution to that is to set the material link to 'Object' instead, like in the answer given here.