/****************************************************************************** Copyright (c) 1999 Unigraphics Solutions, Inc. Unpublished - All Rights Reserved *******************************************************************************/ /* The following example creates a user tool using an existing user tool definition file named "usertool1.utd". */ # include # include void ufusr(char *param, int *retcod, int param_len) { char *tool_name = "usertool1.utd"; int tool_num = 0, error; logical map_flag = UF_UI_SHOW, read_flag; UF_initialize(); error = UF_UI_create_usertool(tool_num, tool_name, map_flag, &read_flag); UF_terminate(); }