当前位置: 首页 > web >正文

C# NX二次开发:判断两个体是否干涉和获取系统日志的UFUN函数

大家好,今天要讲关于如何判断两个体是否干涉和获取系统日志的UFUN函数。

(1)UF_MODL_check_interference:这个函数的定义为根据单个目标体检查每个指定的工具体是否有干扰。

Defined in: uf_modl.h
 

Overview

Checks each specified tool body against the single target body for interference.
An interference status is returned for each tool body.

Objects may be created as part of the interference checking. These objects are
tagged for deletion, but to make sure the memory is freed and avoid memory overflow,
UF_MODL_update should be called following the call to UF_MODL_check_interference.
 

Environment

Internal and External
 

See Also

Refer to example
 

History

Originally released in V16.0
 

Required License(s)

solid_modeling


 

int UF_MODL_check_interference
(

tag_t target,
int num_tools,
tag_t * tools,
int * results

)

tag_ttargetInputTarget body against which interference is checked
intnum_toolsInputNumber of tool bodies specified in tools array
tag_t *toolsInputTool bodies whose interference with target is inquired.
Dimensioned to num_tools
int *resultsOutputInterference status for each tool body. The caller is
responsible for allocating it with an array size of
num_tools.
= 1 -> there is interference
= 2 -> no interference
= 3 -> touching, that is coincident faces

第一个参数为目标体的Tag值

第二个参数为在工具数组中指定的工具体数目

第三个参数为与目标体干涉得到工具体

第四个参数为返回干涉状态

= 1 ->有干扰

= 2 ->无干扰

= 3 ->触碰,即重合面

(2)UF_ask_syslog_filename :这个函数的定义为获取NX系统日志文件。

Defined in: uf.h
 

Overview

Get name of the current syslog
 

Environment

Internal and External
 

History

Released in NX2.0.5
 

Required License(s)

gateway


 

int UF_ask_syslog_filename
(

char * * filename

)

char * *filenameOutput to UF_*free*pointer to dynamically allocated path
filename must be freed with UF_free()

今天要介绍的就是这么多,我们下篇文章再见。

http://www.xdnf.cn/news/4778.html

相关文章:

  • 手撕基于AMQP协议的简易消息队列-3(项目所用到的工具类的编写)
  • DRF+Vue项目线上部署:腾讯云+Centos7.6
  • Android学习总结之kotlin协程面试篇
  • [学习]RTKLib详解:ephemeris.c与rinex.c
  • 77.组合问题
  • 基于Partial Cross Entropy的弱监督语义分割实战指南
  • ElasticSearch基本概念
  • Abaqus学习笔记
  • 解锁 LLM 推理速度:深入 FlashAttention 与 PagedAttention 的原理与实践
  • 如何对 Oracle 日志文件进行校验
  • AUBO STUDIO简介
  • Milvus(17):向量索引、FLAT、IVF_FLAT
  • 在现代Web应用中集成 PDF.js (pdfjs-dist 5.2 ESM): 通过 jsdelivr 实现动态加载与批注功能的思考
  • TDengine 在新能源行业应用
  • Java 线程全面概述
  • 在Excel图表添加辅助线
  • 在 YAFFS2 文件系统中,`yaffs_pread` 函数详解
  • 2.3 点云数据存储格式——LiDAR专用型点云存储格式
  • 003.chromium编译进阶-禁用css动画和禁用canvas渲染
  • 【最新版】likeshop连锁点餐系统-PHP版+uniapp前端全开源
  • 【LangChain基础系列】深入全面掌握文本分类
  • pyorch中tensor的理解与操作(一)
  • java后端知识点复习
  • 图表制作-基础面积图
  • 在openEuler系统下编译安装Redis数据库指南
  • 「美业疗愈服务」从“表层美”到“身心整合”的行业变革︳博弈美业疗愈系统分享
  • GoogLeNet详解
  • 如何通过grep 排除“INTEGER: 1”
  • IoT平台和AIoT平台的区别
  • 如何使用极狐GitLab 软件包仓库功能托管 ruby?