Esempio n. 1
0
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()
Esempio n. 2
0
def noEducationalLicence():
	pm.FileInfo()['license'] = 'education'
	fileName = pm.sceneName()
	pm.saveFile()
	message_gui.info('This Maya file has been converted to an education licence')
Esempio n. 3
0
def convert_to_education():
    pm.FileInfo()['license'] = 'education'
    fileName = pm.sceneName()
    pm.saveFile()