UF_UDOBJ_free_udo_data( [$all_data )]
uc1601( class_name, 1);
uc1601( friendly_name, 1);
UF_free( class_name);
UF_free( friendly_name );
errorCode = UF_terminate();
}
/* Unigraphics Startup
** This entry point activates the application at Unigraphics startup */
extern DllExport void ufsta( char *param, int *returnCode, int rlen )
{
/* Initialize the API environment */
int errorCode = UF_initialize();
if ( 0 == errorCode )
{
/* TODO: Add your application code here */
/* Terminate the API environment */
errorCode = UF_terminate();
}
/* Print out any error messages */
 rintErrorMessage( errorCode );
}
/* Explicit Activation
** This entry point is used to activate the application explicitly, as in
** "File->Execute UG/Open->User Function..." */
extern DllExport void ufusr( char *parm, int *returnCode, int rlen )
{
double block_orig[3] = {0.0, 0.0, 0.0};
char *block_len[3] = {"1", "2", "3"};
tag_t block_tag;
UF_FEATURE_SIGN sign = UF_NULLSIGN;
UF_UDOBJ_class_t class_id;
tag_t udo_tag = NULL_TAG;
UF_UDOBJ_link_t link_defs[1];
// void *select_contex;
/* Initialize the API environment */
int errorCode = UF_initialize();