def convert_to_education(): print("file info: ", pm.FileInfo().items()) mc.fileInfo(rm="license") print("file info: ", pm.FileInfo().items()) # pm.FileInfo()['license'] = 'commercial' fileName = pm.sceneName() pm.saveFile()
def noEducationalLicence(): pm.FileInfo()['license'] = 'education' fileName = pm.sceneName() pm.saveFile() message_gui.info('This Maya file has been converted to an education licence')
def convert_to_education(): pm.FileInfo()['license'] = 'education' fileName = pm.sceneName() pm.saveFile()