Message 1 of 11
vbEmpty s meaning
Not applicable
05-10-2006
12:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi,
this my sub
Sub intPointstest()
Dim explodedObjects As Variant
Dim returnObj1 As AcadObject
Dim returnObj2 As AcadObject
Dim BasePnt As Variant
Dim offsetobj As Variant
ThisDrawing.Utility.GetEntity returnObj1, BasePnt, "Select an object"
ThisDrawing.Utility.GetEntity returnObj2, BasePnt, "Select an object"
Dim intPoints As Variant
intPoints = returnObj1.IntersectWith(returnObj2, acExtendNone)
Debug.Print VarType(intPoints) <> vbEmpty '*
End Sub '
i wonder why * is true when there isnt any Intersecting Point,
how to judge if there an Intersecting Point or not
thanks
this my sub
Sub intPointstest()
Dim explodedObjects As Variant
Dim returnObj1 As AcadObject
Dim returnObj2 As AcadObject
Dim BasePnt As Variant
Dim offsetobj As Variant
ThisDrawing.Utility.GetEntity returnObj1, BasePnt, "Select an object"
ThisDrawing.Utility.GetEntity returnObj2, BasePnt, "Select an object"
Dim intPoints As Variant
intPoints = returnObj1.IntersectWith(returnObj2, acExtendNone)
Debug.Print VarType(intPoints) <> vbEmpty '*
End Sub '
i wonder why * is true when there isnt any Intersecting Point,
how to judge if there an Intersecting Point or not
thanks