![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
solidworks 二次开发
莫大D
这个作者很懒,什么都没留下…
展开
-
byref参数类型不符 “变量声明”
Dim ResValue1 As StringDim ResValue2 As StringDim ResValue3 As String以上格式与下面不等价Dim ResValue1,ResValue2,ResValue3 As String第二种格式中只定义了,ResValue3为string 类型,而ResValue1,ResValue2,未定义有时会出现“byref参数类型不符...原创 2019-11-10 22:02:53 · 507 阅读 · 0 评论 -
solidworks VBA 中程序启动初始过程的设置
VB程序通常程序运行的启示过程为标准模块中的main(),但有时候也会重其它位置启动,这时可通过,“工程”>>“工程属性”中进行设置而在VBA中则无法通过此方式进行设置,它需要在宏按钮建立的过程中,通过下图所示下拉箭头中进行选择,选择程序运行的初始过程...原创 2019-06-18 08:15:34 · 2514 阅读 · 0 评论