I'm working on free Addons named "Arc Blend" . I'm stuck a little...
My question is:
I have a PointerProperty group on my Mesh. And I add new property as mesh data. But I don't know how I can Handle this problem: I want to display just other meshes. How i can reach my PropertyGroup's queue(order) and automatically change my mesh For instance: 1.th is "Cube" to "Suzanne" 2.nd is "Suzanne" to "Other Mesh" using "display boolean icon"
def proxy_display_upd(self,context):
if self.proxy_display == False: bpy.context.object.data =bpy.data.meshes["Cube"]
elif self.proxy_display== True: bpy.context.object.data = bpy.data.meshes["Suzanne"]
proxy_display=bpy.props.BoolProperty(default=False,description="Display in Viewport",update=proxy_display_upd)
if self.proxy_display: ... else: ...
$\endgroup$