iCAx开思工具箱

标题: catia二次开发 [打印本页]

作者: momochong    时间: 2005-9-6 23:23
标题: catia二次开发
我用vb开发catia,在定义类型时,
Dim reference1 As Reference
Set reference1 = originElements1.PlaneXY
编译出错,说类型未定义。
  为什么?
作者: xacf    时间: 2005-9-8 10:45
我用vb开发catia,在定义类型时,  
Dim reference1 As Reference  
Set reference1 = originElements1.PlaneXY  
编译出错,说类型未定义。
  
Reference ;类型引用不对。
把第一行Dim reference1 As Reference 去掉应该就可以了。




欢迎光临 iCAx开思工具箱 (https://t.icax.org/) Powered by Discuz! X3.3