Ah, it is me who should write the C code! Sorry for not getting it in the first 
place!… I have never written anything in C before. But am I getting it right? 
You want to reference python data in the C-type, right? But how is this 
possible then?:

bpy.types.MeshPolygon.custom = "custom"

would it be possible to extend the bmesh wrapper in a way that custom data 
assignment would be as simple as above? Possibly with some automatic 
translation to a pointer in C, if necessary?

_______________________________________________
Bf-python mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-python

Reply via email to