Warning: file(datafile/online) [function.file]: failed to open stream: No such file or directory in /home/all2one/public_html/bbs/topic.php on line 200
阳光精品论坛 > 『 CAD 专栏 』 > UF_PARAM_set_int_value的用法
UF_CALL(UF_PARAM_set_int_value(objects[0],UF_PARAM_TURN_TRIM_POINT1_ANGLE_TOG,TRIM_POINT1_TOG_ANGLE)); UF_CALL(UF_PARAM_set_double_value(objects[0],UF_PARAM_TURN_TRIM_POINT1_ANGLE_VAL,ang_val_radians)); UF_CALL(UF_PARAM_generate(objects[0],&is_generated)); } else { sprintf(msg,"object type is not UF_machining_operation_type and subtype is not UF_mach_turn_rough_subtype"); WRITE_S(msg); } UF_free(objects); } else { UF_CALL(UF_UI_open_listing_window( )); sprintf(msg,"objects selected in ONT is not equal to 1"); UF_CALL(UF_UI_write_listing_window(msg)); }
return; }
extern DllExport void ufusr( char *parm, int *returnCode, int rlen ) { /* Initialize the API environment */ if( UF_CALL(UF_initialize()) ) { /* Failed to initialize */ return; }
do_it();
/* Terminate the API environment */ UF_CALL(UF_terminate()); }
extern int ufusr_ask_unload( void ) { return( UF_UNLOAD_IMMEDIATELY );