// 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 message[133];
message[0] = '\0';
strcpy(message, "lease select the first plane");
UF_UI_selection_options_t opts;
UF_UI_mask_t mask;
int response;
tag_t view;
double cursor[3];
int unhighlight = 0;
/* Terminate the API environment */
errorCode = UF_terminate();
}
// Unload Handler
// This function specifies when to unload your application from Unigraphics.
// If your application registers a callback (from a MenuScript item or a
// User Defined Object for example), this function MUST return
// "UF_UNLOAD_UG_TERMINATE".
extern "C" int ufusr_ask_unload( void )
{
return( UF_UNLOAD_UG_TERMINATE );
}作者: tari 时间: 2004-8-11 14:59
请问你用于装配的是零件还是装配体?instance、occurrence、protype这几个概念自己琢磨一下,也许是这个原因作者: cg0606 时间: 2004-8-11 15:47
这些概念对我来说确实比较糊涂,我再想想吧,多谢多谢