def export_selected(project_code, tab_code, wdg_code):
current_type = cmds.optionVar(q='defaultFileExportActiveType')
current_ext = cmds.translator(str(current_type), q=True, filter=True)
current_ext = current_ext.split(';')[0]
current_checkin_widget = env_inst.get_check_tree(project_code, tab_code, wdg_code)
current_checkin_widget.save_file(selected_objects=[True, {current_type: current_ext[2:]}])
评论列表
文章目录