def execute(self, context): bpy.context.scene.I3D_export.I3D_exportUseBlenderFileName = False bpy.context.scene.I3D_export.I3D_exportFileLocation = self.filepath if (self.I3D_exportSelected): i3d_IOexport.doExportSelecred() else: i3d_IOexport.doExportAll() return {'FINISHED'}
def execute(self, context): if 1 == self.state: i3d_IOexport.doExportAll() elif 2 == self.state: i3d_IOexport.doExportSelecred() return {'FINISHED'}