Sub xiugaibianyaqi()
If mdlconnectdb.opendb = False Then
Exit Sub
End If
Dim chandle As Variant
'安全创建选择集
On Error Resume Next
Dim sset As AcadSelectionSet
If Not IsNull(ThisDrawing.SelectionSets.Item("example")) Then
Set sset = ThisDrawing.SelectionSets.Item("example")
sset.Delete
End If
Set sset = ThisDrawing.SelectionSets.Add("example")
Private Sub AcadDocument_BeginDoubleClick(ByVal PickPoint As Variant)
If mdlconnectdb.opendb = False Then
Exit Sub
End If
Dim objselect As AcadBlockReference
Dim basepnt As Variant
Dim xdatatype As Variant
Dim xdatavalue As Variant
Dim strcode As String
Dim pt As Variant
Dim my(0 To 2) As Double