找回密码
 注册
Simdroid-非首页
查看: 58|回复: 1

[二次开发] 求助!

[复制链接]
发表于 2013-7-11 13:55:34 | 显示全部楼层 |阅读模式 来自 浙江杭州
Dim swApp As Object
Dim Part As modeldoc2

Dim boolstatus As Boolean
Dim longstatus As Long, longwarnings As Long
Private Sub Command1_Click()
Set swApp = CreateObject("SldWorks.Application")
swApp.UserControl = True
Dim Part As Object
Set Part = swApp.NewPart
Part.InsertSkecth2 True
Part.CreateCircle 0, 0, 0, 1, 0, 0
Part.ClearSelection
Part.InsertSkecth2 True
Part.SaveAs2 "D:\part5.SLDPRT", 0, False, False
swApp.exieapp

End Sub
程序运行的时候,标红的那句话会出错,是啥问题啊?求助!
发表于 2013-7-19 14:43:18 | 显示全部楼层 来自 法国
Simdroid开发平台
没弄过这个啊,帮顶!
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-4-20 12:07 , Processed in 0.029505 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表