def create_hud(self, hud_name):
        """creates HUD
        """
        self.remove_hud(hud_name)

        try:
            # create our HUD
            pm.headsUpDisplay(
                hud_name,
                section=7,
                block=1,
                ao=1,
                blockSize="medium",
                labelFontSize="large",
                dfs="large",
                command=self.get_hud_data,
                atr=1
            )
        except __HOLE__:
            # there is another HUD in that position remove it
            pm.headsUpDisplay(removePosition=(7, 1))
            self.create_hud(hud_name)
dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/auxiliary.py/Playblaster.create_hud