Execute a dynamo definition.

        Args:
            definition_path (str): full path to dynamo definition file
            show_ui (bool): show dynamo UI at execution
            shutdown (bool): shutdown model after execution
            automation (bool): activate dynamo automation
            path_exec (bool): activate dynamo path execute

        Examples:
            >>> jm = JournalMaker()
            >>> jm.execute_dynamo_definition(
            ...     definition_path='C:/testdef.dyn',
            ...     show_ui=True,
            ...     shutdown=True
            ... )

def execute_dynamo_definition(self, definition_path,
                                  show_ui=False, shutdown=True,
                                  automation=False, path_exec=True):
        """Execute a dynamo definition.

        Args:
            definition_path (str): full path to dynamo definition file
            show_ui (bool): show dynamo UI at execution
            shutdown (bool): shutdown model after execution
            automation (bool): activate dynamo automation
            path_exec (bool): activate dynamo path execute

        Examples:
            >>> jm = JournalMaker()
            >>> jm.execute_dynamo_definition(
            ...     definition_path='C:/testdef.dyn',
            ...     show_ui=True,
            ...     shutdown=True
            ... )
        """
        self._add_entry(templates.DYNAMO_COMMAND
                                 .format(dynamo_def_path=definition_path,
                                         dyn_show_ui=show_ui,
                                         dyn_automation=automation,
                                         dyn_path_exec=path_exec,
                                         dyn_shutdown=shutdown))