SolidWorks机械工程师网——最大的SolidWorks学习平台

标题: 在SW里,宏是一个什末概念? [打印本页]

作者: black007    时间: 2007-5-27 11:11
标题: 在SW里,宏是一个什末概念?
在SW里,是一个什末概念?如何使用和加载?
作者: inggogo    时间: 2007-5-27 11:14
sw中的是以*.swp; *.swb结尾的文件
一个很复杂的实体用录制会很小  
用vb编程     下面是一个中的部分代码
Dim debug1 As String '调试变量
Dim t As Currency '参数变量
Dim ResTmp As Currency  '中间运算结果
Dim TextTmp As String '中间运算算式
Private Sub UserForm_Activate()
Me.Width = 294.75
Me.Height = 255
End Sub
Private Sub CommandButton1_Click()
End
End Sub
Private Sub CommandButton2_Click()
Me.Width = 433.5
TextDebug.Text = ""
'声明坐标变量
Dim X As Double
Dim Y As Double
Dim Z As Double
Dim TextTmp As String
Dim TextMid As String
'声明参数变量
Dim Tmin As Currency
Dim Tmax As Currency
Dim Tstep As Currency
'负初值
X = 0
Y = 0
Z = 0
运行

作者: PXW1983    时间: 2007-5-27 11:27
good good good 2楼厉害!学习了.




欢迎光临 SolidWorks机械工程师网——最大的SolidWorks学习平台 (https://www.swbbsc.com/) Powered by Discuz! X3.2