- 积分
- 292
- 明经币
- 个
- 注册时间
- 2004-6-10
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
求代码
我写的是:
Public Function AddHatchPt(ByRef ptArr() As Double, ByVal patType As Integer, ByVal patName As String, _ ByVal associativity As Boolean) As AcadHatch Dim objPline As AcadLWPolyline
If (UBound(ptArr) + 1) Mod 2 <> 0 Then MsgBox "数组个数必须为偶数" Exit Function End If Set objPline = AcadDoc.ModelSpace.AddLightWeightPolyline(ptArr) objPline.Closed = True Dim objList(0) As AcadEntity Set objList(0) = objPline Set AddHatchPt = AddHatch(objList, patType, patName, associativity)
只有patType, patName, associativity
预设是1.0
小弟想设定为75 ,求代码 谢谢
|
|