#NEWLINE# def create_hud( self , hud_name ) : #NEWLINE# #INDENT# 'creates HUD\n        ' #NEWLINE# self . remove_hud ( hud_name ) #NEWLINE# try : #NEWLINE# #INDENT# pm . headsUpDisplay ( hud_name , section = 7 , block = 1 , ao = 1 , blockSize = 'medium' , labelFontSize = 'large' , dfs = 'large' , command = hud_name . get_hud_data , atr = 1 ) #NEWLINE# #UNINDENT# except RuntimeError : #NEWLINE# #INDENT# pm . headsUpDisplay ( removePosition = ( 7 , 1 ) ) #NEWLINE# self . create_hud ( hud_name )