uc6434("",4,NULL_TAG,mtx);//将当前视图设为和矩阵相同 uc6450("",TopName,0,1);//保存当前视图为TOP

  CiIZfyyIq65u   2023年11月30日   16   0   0 水饺水饺

为什么NX10.0不认“司筒”两个字,上不了属性。 const char utf8_str = nxstr_temp.GetUTF8Text(); mWStr_temp = UHelper::ANSIToUnicode(nxstr_temp.GetLocaleText()); 

  CiIZfyyIq65u   2023年11月30日   25   0   0 icoico

方法1: UF_ASSEM_ask_part_occurrence (tagBody,&tagPartOcc); 方法2: UF_ASSEM_ask_parent_component(tagBody,&tagPartOcc);

  CiIZfyyIq65u   2023年11月30日   27   0   0 系统系统

c: UF_UI_ONT_refresh(); c: theUFSession.UiOnt.Refresh(); 函数解释: Thisfunctionrefreshestheoperationnavigator. 此功能用于刷新操作导航器。 

  CiIZfyyIq65u   2023年11月30日   37   0   0 UIC++uic++

分享一种判断圆柱面是不是孔的方法。 如下图所示体上有三个圆柱面,2个孔和1个R角面。可以通过面的边的组数(loop)判断圆柱面是不是孔。孔的loop至少有2个。 代码: //获取面上loop的数量 intgetFaceLooscount(tag_ttagFace) { uf_loop_tloop_list=NULL; UF_MODL_ask_face_loops(tagFace,&loop_list); intiLoopsCount=0; UF_MODL_ask_loop_list_count(loop_list,&iLoopsCount); UF_MODL_dele...

  CiIZfyyIq65u   2023年11月30日   30   0   0 系统系统

数组类型变量的三个限制1.数组长度不变;2.编译时必须知道其长度;3.数组只能在定义的语句块内存在。 创建动态数组1.可以在运行时再确定数组长度;2.动态数组将一直存在,直到程序显式释放它为止;3.每一个程序执行时都会占用一块可用的内存空间,用于动态分配对象,此内存空间称为程序的“自由存储区”或“堆”;4.c语言使用mallco和free在堆中分配存储空间;5.c语言使用new和delete堆中分配存储空间。 动态数组的定义1.数组变量通过指定类型、数组名和维数来定义:intarr[10];2.动态分配数组时,不必为数组对象命名,只需要指定类型和数组长度即可,new表达式返回指向该数组的第一...

UG测量一个面到体的最短距竟然是错误的!!!   UF_MODL_ask_minimum_dist_2() 这个函数千万不要输入体的tag。目前看输入基准平面、体的面的tag是没有问题的。   附件下载

【NX二次开发】BlockUI滚动窗口

  CiIZfyyIq65u   2023年11月30日   28   0   0 二次开发二次开发uiUI

文章作者:里海 UF_CAM_PREF_ask_logical_value Definedin:uf_cam_prefs.h intUF_CAM_PREF_ask_logical_value(UF_CAM_PREF_tpref,logicalvalue) overview概述 ThisfunctionprovidesthelogicalsettingofthespecifiedCAMPreference.此函数提供指定CAM首选项的逻辑设置。 UFUN例子 parameters参数 UF_CAM_PREF_t pref Input thespecif...

文章作者:里海 UF_CAM_opt_ask_object Definedin:uf_cam.h intUF_CAM_opt_ask_object(UF_CAM_opt_stype_cls_tsubtype_class,constchartype,constcharsubtype,tag_tparam) overview概述 ThisfunctionprovidesthetagoftheNXobjectwhichcorrespondstothespecifiedObjectParameterTemplatetypeandsubtype.Templates.此函数提供NX对象的标记,...

文章作者:里海 UF_CAM_ask_post_template_name Definedin:uf_cam.h intUF_CAM_ask_post_template_name(constcharpost_template_filename) overview概述 ThisfunctionprovidesthenameofthefilethatstoresthelistofavailablePOSTtemplates.Thisisdeterminedbythecontentsofcam_config.dat.此函数提供存储可用POST模板列表的文件的名称。这由cam_config...

文章作者:里海 UF_CAM_ask_mach_tool_db_object Definedin:uf_cam.h intUF_CAM_ask_mach_tool_db_object(UF_CAM_db_object_tdb_obj) overview概述 ThisfunctionprovidesthedatabaseobjectwhichiscurrentlyusedtoaccesstheMachineToollibrary.此函数提供当前用于访问MachineTool库的数据库对象。 UFUN例子 parameters参数 UF_CAM_db_o...

文章作者:里海 UF_CAM_ask_lower_limit_plane_tag Definedin:uf_cam_planes.h intUF_CAM_ask_lower_limit_plane_tag(tag_tobject_tag,tag_ttarget_tag) overview概述 Querythetagofalowerlimitplane查询下限平面的标记 UFUN例子 parameters参数 tag_t object_tag Input theparentobjectoftheplane平面的母体 tag_t target_tag...

文章作者:里海UF_CAM_PREF_ask_data_type Definedin:uf_cam_prefs.h intUF_CAM_PREF_ask_data_type(UF_CAM_PREF_tpref,UF_PARAM_type_ttype) overview概述 ThisfunctionprovidesthedatatypeofthespecifiedCAMPreference.此函数提供指定CAM首选项的数据类型。 UFUN例子 parameters参数 UF_CAM_PREF_t pref Input thespecificdesire...

文章作者:里海 UF_CAM_ask_lower_limit_plane_data Definedin:uf_cam_planes.h intUF_CAM_ask_lower_limit_plane_data(tag_tobject_tag,doubleorigin[3],doublenormal[3]) overview概述 Querytheoriginandnormalofalowerlimitplane查询下限平面的原点和法线 UFUN例子 parameters参数 tag_t object_tag Input theparentobjecto...

文章作者:里海 UF_CAM_ask_doc_template_name Definedin:uf_cam.h intUF_CAM_ask_doc_template_name(constchardoc_template_filename) overview概述 ThisfunctionprovidesthenameofthefilethatstoresthelistofavailableDocumentationtemplates.Thisisdeterminedbythecontentsofcam_config.dat.此函数提供存储可用文档模板列表的文件的名称。这由cam_co...

文章作者:里海 UF_CAM_ask_leastsq_sphere Definedin:uf_cam.h intUF_CAM_ask_leastsq_sphere(doublepoint_coords,intpoint_count,doubletolerance,doublesphere_center[3],doublesphere_radius) overview概述 DESCRIPTION:Thisutilityfunctioncomputesthecenterpointandtheradiusofleastsquaresphereforagivensetofpoints.描述...

文章作者:里海 UF_CAM_ask_cutter_db_object Definedin:uf_cam.h intUF_CAM_ask_cutter_db_object(UF_CAM_db_object_tdb_obj) overview概述 ThisfunctionprovidesthedatabaseobjectwhichiscurrentlyusedtoaccesstheCutterlibrary.此函数提供当前用于访问Cutter库的数据库对象。 UFUN例子 parameters参数 UF_CAM_db_object_t db_obj O...

文章作者:里海 UF_CAM_ask_clear_plane_usage Definedin:uf_cam_planes.hintUF_CAM_ask_clear_plane_usage(tag_tobject_tag,UF_PARAM_clrplane_usage_tusage) overview概述 Querytheusageofaclearanceplane质疑净空飞机的使用 UFUN例子 parameters参数 tag_t object_tag Input theparentobjectoftheplane平面的母体 UF_PARAM_clrpl...

文章作者:里海 UF_CAM_ask_clear_plane_data Definedin:uf_cam_planes.hintUF_CAM_ask_clear_plane_data(tag_tobject_tag,doubleorigin[3],doublenormal[3]) overview概述 Querytheoriginandnormalofaclearanceplane质疑间隙平面的起点和法线 UFUN例子 parameters参数 tag_t object_tag Input theparentobjectoftheplane平面的母体 do...

关注 更多

空空如也 ~ ~

粉丝 更多

空空如也 ~ ~