Loading...
最近需要在开发中使用C#调用一个C编写的dll函数库。调用过程真是困难重重……首当其冲就是数据类型的正确映射。MSDN实际上有给出两种语言各个数据类型对应的数字范围,这里综合到一张表里,方便以后备查。实际应用中,如果C下的API函数中使用的是long类型void func(...
在折腾docker的时候,有一天突然发现打开docker容器的终端时,提示“socket已停止”的错误。而且所有容器都不能使用终端了。这就蛋疼了。虽然可以...
在修复上一篇CATIA插件的BUG时,接触到了新的语言TCL。有点兴趣,这就了解一下。官方网站https://www.tcl.tk/基本是从这个网站上进行学习。[TOC]基本语法Hello world创建一个文本文件,改名字为test.tcl,用文本编辑器打开,可以使用At...
如果要进行基于CAA的二次开发,第一步需要搭建开发环境。CAA的开发环境搭建所复杂不复杂,但还是有点注意点的。下面就来详细说明一下搭建过程。[TOC]使用...
在之前的入门教程中有提到,有时候我们要获得装配体下的某一个零件的某一个特征的数据。比如,我们想找到子零件下的特征对象,然后添加约束。那么一种实现方法是,对装配下的所有零件进行遍历操作,然后根据特定属性(零件名、类型等)找到特定对象。这篇教程就介绍一下如何遍历装配体下的零件树...