154
1274
8
顶梁支柱
If sset1.Count > 0 Then Set BlockX = sset1.Item(0) If BlockX.HasAttributes Then attribX = BlockX.GetAttributes For countz = LBound(attribX) To UBound(attribX) Select Case attribX(countz).TagString Case "FIX1" fx1descTXT.text = attribX(countz).TextString Case "FIX2" fx2descTXT.text = attribX(countz).TextString Case "FIX3" fx3descTXT.text = attribX(countz).TextString Case "FIX4" fx4descTXT.text = attribX(countz).TextString Case "FIX5" fx5descTXT.text = attribX(countz).TextString Case "FIX6" fx6descTXT.text = attribX(countz).TextString Case "FIX7" fx7descTXT.text = attribX(countz).TextString Case "FIX8" fx8descTXT.text = attribX(countz).TextString Case "FIX9" fx9descTXT.text = attribX(countz).TextString Case "FIX10" fx10descTXT.text = attribX(countz).TextString End Select Next 'End countx HasAttributes check loop.. End If End If
使用道具 举报
85
404
7
中流砥柱
On Error Resume Next Dim ss As AcadSelectionSet Set ss = ThisDrawing.SelectionSets.Item("abcd") If Err.Number 0 Then Set ss = ThisDrawing.SelectionSets.Add("abcd") Err.Clear Else ss.Clear End If
Dim Mycollection As AcadSelectionSets Dim SSet1 As AcadSelectionSet ' first check if any ss exist and if they do, delete them Set Mycollection = ThisDrawing.SelectionSets For Each SSet1 In Mycollection If SSet1.Name = "MySS" Then ThisDrawing.SelectionSets.Item("MySS").Delete Exit For End If Next
本版积分规则 发表回复 回帖后跳转到最后一页
微信公众平台
扫描访问手机版
点击图片下载手机App
|关于我们|小黑屋|乐筑天下 繁体中文
GMT+8, 2025-7-6 06:10 , Processed in 1.593926 second(s), 71 queries .
© 2020-2025 乐筑天下
在线时间:10:00-17:00
暂无
扫一扫,关注我们
帮助中心
关于我们
下载APP客户端