//  Include files
#include <uf.h>
#include <uf_exit.h>
#include <uf_ui.h>
#if ! defined ( __hp9000s800 ) && ! defined ( __sgi ) && ! defined ( __sun )
# include <strstream>
#   include <iostream>
using std::ostrstream;
using std::endl;
using std::ends;
using std::cerr;
#else
# include <strstream.h>
#   include <iostream.h>
#endif
#include "4.h"//----------------------------------------------------------------------------
//  Activation Methods
//----------------------------------------------------------------------------//  Unigraphics Startup
//      This entry point activates the application at Unigraphics startup
extern "C" 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 */
char *cue;-"select a point:";
UF_UI_POINT_base_method_t base_method;
base_method=UF_UI_POINT_CURSOR_POS;
tag_t point_tag;
double base_pt[ 3 ];
int * response;
UF_UI_point_construct(cue,&base_method,
&point_tag,base_pt,response);
        UF_CURVE_create_point(base_pt,&point_tag);