{{xóa}} {{chờ xóa}}

try:
            soundfile=pm.ls(type='audio')[0]
            pm.modelEditor(panel, edit=True, pm=True, displayAppearance='smoothShaded', grid=False, dl='all', headsUpDisplay=True, dtx=True, camera=False, joints=False, lights=False, locators=False, nurbsCurves=False, dimensions=False, exposure=False, greasePencils=False, manipulators=False, selectionHiliteDisplay=False, motionTrails=False, shadows=False)
            pm.playblast(offScreen=True, forceOverwrite=True, filename=path_filename1, sound=soundfile, format='qt', compression='H.264', viewer=False, sqt=False, cc=True, v=True, orn=True, fp=4, p=100, qlt=100, widthHeight=(1920, 1080), editorPanelName=panel)
        except:
            pm.modelEditor(panel, edit=True, pm=True, displayAppearance='smoothShaded', grid=False, dl='all', headsUpDisplay=True, dtx=True, camera=False, joints=False, lights=False, locators=False, nurbsCurves=False, dimensions=False, exposure=False, greasePencils=False, manipulators=False, selectionHiliteDisplay=False, motionTrails=False, shadows=False)
            pm.playblast(offScreen=True, forceOverwrite=True, filename=path_filename, format='qt', compression='H.264', viewer=False, sqt=False, cc=True, v=True, orn=True, fp=4, p=100, qlt=100, widthHeight=(1920, 1080), editorPanelName=panel)

        pm.headsUpDisplay('HUD', edit=True, remove=1)
        pm.modelEditor(panel, edit=True, pm=True, displayAppearance='smoothShaded', grid=False, dl='default', headsUpDisplay=True, joints=False, lights=False, nurbsCurves=True, dimensions=True, exposure=False, greasePencils=True, manipulators=True, selectionHiliteDisplay=True, motionTrails=True, shadows=False)