I'm trying to create a selection set of lines and text from LDD's parcel coordinates. I can get the help's example to work, but not my own.... (my sel set count is always 0). Any and all help is greatly appreciated. TIA! Public Function getParcelSelectionSet(strParcelNumber As String) As AcadSelectionSet Dim oParcels As AeccParcels Dim oParcel As AeccParcel Dim oParcelEntities As AeccParcelEntities Dim oParcelEntity As AeccParcelEntity Dim oParcelSelectionSet As AcadSelectionSet Dim vParcelPoints() As Double Dim i As Integer Dim grpCode(0 To 1) As Integer Dim dataVal(0 To 1) As Variant Set oParcels = AeccApplication.ActiveProject.Parcels Set oParcel = oParcels.Item(strParcelNumber) ' get each parcel entity Set oParcelEntities = oParcel.ParcelEntities ' redim array ReDim vParcelPoints((oParcelEntities.Count * 6) - 1) As Double For Each oParcelEntity In oParcelEntities ' add the start and end points to the array vParcelPoints(i) = oParcelEntity.StartEasting i = i + 1 vParcelPoints(i) = oParcelEntity.StartNorthing i = i + 1 vParcelPoints(i) = 0 i = i + 1 vParcelPoints(i) = oParcelEntity.EndEasting i = i + 1 vParcelPoints(i) = oParcelEntity.EndNorthing i = i + 1 vParcelPoints(i) = 0 i = i + 1 Next ' create selection set Set oParcelSelectionSet = vbdPowerSet("Parcel_SS") ' create sel set filters grpCode(0) = 0 dataVal(0) = "TEXT" grpCode(1) = 8 dataVal(1) = "0" ' build sel set Application.ZoomAll oParcelSelectionSet.SelectByPolygon acSelectionSetFence, vParcelPoints, grpCode, dataVal ' if sel set has object, return it If oParcelSelectionSet.Count > 0 Then Set getParcelSelectionSet = oParcelSelectionSet End If Set oParcelSelectionSet = Nothing Set oParcel = Nothing Set oParcels = Nothing Set oParcelEntities = Nothing Set oParcelEntity = Nothing End Function