摘要: /*--------------- Static variables ---------------------*/static int srf_entry_count; /*=====================================================*\Function: UserSurfArea()Purpose: Compute Area of the Surf... 阅读全文
posted @ 2010-04-08 11:18 samyangvs05 阅读(396) 评论(0) 推荐(0) 编辑
摘要: /*----------------- Static variables -------------------*/static int crv_entry_count; /*=====================================================*\Function: UserCurveLength()Purpose: Compute Area of the S... 阅读全文
posted @ 2010-04-08 11:07 samyangvs05 阅读(422) 评论(0) 推荐(0) 编辑
摘要: /*===============================================================*\FUNCTION: UserConeAngDisp()PURPOSE: Display the angle of the selected cone.\*=======================================================... 阅读全文
posted @ 2010-04-07 22:29 samyangvs05 阅读(221) 评论(0) 推荐(0) 编辑
摘要: /*=======================================================*\Function: UserArcDiaDisp()Purpose: Display Diameter of Selected Arc\*======================================================*/ProError UserArc... 阅读全文
posted @ 2010-04-07 22:10 samyangvs05 阅读(249) 评论(0) 推荐(0) 编辑
摘要: typedef struct uappdata{ int feature_id; ProMdl solid;} UsrAppData;/*================================================================*\FUNCTION: UserHoleSrfDisp()PURPOSE: Display the surfaces adjacen... 阅读全文
posted @ 2010-04-07 21:55 samyangvs05 阅读(343) 评论(0) 推荐(0) 编辑
摘要: typedef struct surface_visit_data{ FILE *fp; ProSolid part;} AxisVisitData_t;/*===============================================================*\FUNCTION: UserDemoAxisAct()PURPOSE : Axis-visit action... 阅读全文
posted @ 2010-04-07 15:02 samyangvs05 阅读(279) 评论(0) 推荐(0) 编辑
摘要: ProError status; ProAsmcomppath comp_path; ProSelection *p_sel; int n_sel,i; n_sel = 0; status = ProSelect("prt_or_asm", 1, NULL, NULL, NULL, NULL, &p_sel, &n_sel); if (status != PRO... 阅读全文
posted @ 2010-04-06 14:36 samyangvs05 阅读(588) 评论(0) 推荐(0) 编辑
摘要: ProError status; ProMdl mdl; ProModelitem mdlItem; ProName paramName; proparameter param; ProParamvalue paramValue; status=ProMdlCurrentGet(&mdl); if (status==PRO_TK_NO_ERROR) { //用值dParamValue1更... 阅读全文
posted @ 2010-03-17 20:35 samyangvs05 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2010-03-17 18:33 samyangvs05 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 《轉載》 有时候当文件包含互相重叠时,可能会出现下面两个错误,而且成双成对出现(IDD_ISO_TREE_VIEW是我的对话框ID): error C2065: 'IDD_ISO_TREE_VIEW' : undeclared identifier error C2057: expected constant expression 解决办法是:在对话框类头文件中包含 #include "reso... 阅读全文
posted @ 2010-03-08 22:39 samyangvs05 阅读(1736) 评论(0) 推荐(0) 编辑