📄 project_dim_dialog.h
字号:
/*=============================================================================
WARNING!! This file is overwritten by the UIStyler each time the Styler
file is saved.
Filename: project_dim_dialog.h
This file was generated by the NX User Interface Styler
Created by: hytao
Version: NX 3
Date: 11-17- 6
Time: 09:58
This include file is overwritten each time the UIStyler dialog is
saved. Any modifications to this file will be lost.
==============================================================================*/
#ifndef PROJECT_DIM_DIALOG_H_INCLUDED
#define PROJECT_DIM_DIALOG_H_INCLUDED
#include <uf.h>
#include <uf_defs.h>
#include <uf_styler.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct PROJECT_DIM_PARMETER
{
tag_t dim_tag;
double dim_value;
double up_tolerance;
double low_tolerance;
char hole_code[10];
char axis_code[10];
}PROJECT_DIM_PARMETER;
/*------------------ UIStyler Dialog Definitions ------------------- */
/* The following values are definitions into your UIStyler dialog. */
/* These values will allow you to modify existing objects within your */
/* dialog. They work directly with the NX Open API, */
/* UF_STYLER_ask_value, UF_STYLER_ask_values, and UF_STYLER_set_value.*/
/*------------------------------------------------------------------- */
#define PROJECT_DIM_ACTION_SELECT_DIM ("ACTION_SELECT_DIM")
#define PROJECT_DIM_RADIO_DIM_TYPE ("RADIO_DIM_TYPE")
#define PROJECT_DIM_RADIO_BENCHMARK ("RADIO_BENCHMARK")
#define PROJECT_DIM_OPTION_HOLE_CODE ("OPTION_HOLE_CODE")
#define PROJECT_DIM_OPTION_AXIS_CODE ("OPTION_AXIS_CODE")
#define PROJECT_DIM_TOGGLE_DIAMETER ("TOGGLE_DIAMETER")
#define PROJECT_DIM_LABEL_DIM ("LABEL_DIM")
#define PROJECT_DIM_REAL_UP_TOLERANCE ("REAL_UP_TOLERANCE")
#define PROJECT_DIM_REAL_LOW_TOLERANCE ("REAL_LOW_TOLERANCE")
#define PROJECT_DIM_DIALOG_OBJECT_COUNT ( 9 )
/*---------------- UIStyler Callback Prototypes --------------- */
/* The following function prototypes define the callbacks */
/* specified in your UIStyler built dialog. You are REQUIRED to*/
/* create the associated function for each prototype. You must */
/* use the same function name and parameter list when creating */
/* your callback function. */
/*------------------------------------------------------------- */
int PROJECT_DIM_apply_fun ( int dialog_id,
void * client_data,
UF_STYLER_item_value_type_p_t callback_data);
int PROJECT_DIM_cancel_fun ( int dialog_id,
void * client_data,
UF_STYLER_item_value_type_p_t callback_data);
int PROJECT_DIM_sel_dim_fun ( int dialog_id,
void * client_data,
UF_STYLER_item_value_type_p_t callback_data);
int PROJECT_DIM_sel_benchmark_fun ( int dialog_id,
void * client_data,
UF_STYLER_item_value_type_p_t callback_data);
int PROJECT_DIM_sel_hole_code_fun ( int dialog_id,
void * client_data,
UF_STYLER_item_value_type_p_t callback_data);
int PROJECT_DIM_sel_axis_code_fun ( int dialog_id,
void * client_data,
UF_STYLER_item_value_type_p_t callback_data);
int LaunchProjectDimDialog( int *response,PROJECT_DIM_PARMETER *p_dim_para );
int Pro_Dim_ask_table_row_index(double dim_value);
void Pro_Dim_ask_hole_tolerance_value(int col_index,int row_index,double *up_tol,double *low_tol);
void Pro_Dim_ask_axis_tolerance_value(int col_index,int row_index,double *up_tol,double *low_tol);
#ifdef __cplusplus
}
#endif
#endif /* PROJECT_DIM_DIALOG_H_INCLUDED */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -