如何用vb调用solidworks零件图 5
VB大神求救DimswAppAsObjectDimPartAsObjectDimerrorsAsLongDimwarningsAsLongPrivateSubCmd_pa...
VB大神求救
Dim swApp As Object
Dim Part As Object
Dim errors As Long
Dim warnings As Long
Private Sub Cmd_part_Click()
Set swApp = CreateObject("SldWorks.Application")
Set Part = swApp.ActiveDoc swApp.Visible (True)
Set Part = swApp.OpenDoc6(filepath,swpartdoc)
End Sub
这样可以吗
求打开软件后的具体操作 展开
Dim swApp As Object
Dim Part As Object
Dim errors As Long
Dim warnings As Long
Private Sub Cmd_part_Click()
Set swApp = CreateObject("SldWorks.Application")
Set Part = swApp.ActiveDoc swApp.Visible (True)
Set Part = swApp.OpenDoc6(filepath,swpartdoc)
End Sub
这样可以吗
求打开软件后的具体操作 展开
1个回答
2015-06-04
展开全部
你试试 就知道可以不可以啊。你调用了,显示在什么控件里啊
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询