Message 1 of 3
intersection point vbempty argument
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I amd trying to find the intersection points of objects in selection set. If the intersection point is nothing I need to perform a task if not do some thing else. here I am getting the first first task done for both result
here is the code
For b = 0 To BarrSet.Count - 1
For C = 0 To ContSet.Count - 1
Set Cline = ContSet.Item(C)
Set BLine = BarrSet.Item(b).Copy
IntPt = BLine.IntersectWith(Cline, acExtendNone)
If VarType(IntPt) <> vbEmpty Then
ThisDrawing.ModelSpace.AddCircle Cline.EndPoint, 1
End If
If VarType(IntPt) = vbEmpty Then
MsgBox "ASDFASDF"
End If
BLine.Delete
Next
Next