Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have this:
I got this code:
Private Sub CommandButton1_Click()
Dim Sset As AcadSelectionSet
Dim filterType(0) As Integer, i As Integer
Dim filterData(0) As Variant
Dim PL() As AcadLWPolyline
Dim intersectionCount As Integer
filterType(0) = 8: filterData(0) = "COLUMN"
Set Sset = ThisDrawing.SelectionSets.Add("Be")
Sset.Select acSelectionSetAll, , , filterType, filterData
ReDim PL(Sset.Count - 1)
For i = 0 To Sset.Count - 1
Set PL(i) = Sset.Item(i)
Next i
If PL(0).IntersectWith(PL(1), acExtendNone) Is Nothing Then
Else
PL(1).Delete
End If
Sset.Delete
End Sub
But I have a problem there:
The code doesn't work. Can you help me?
jefferson
Solved! Go to Solution.