Iterate through the selection set, and use the GetAttributes() method
of each block reference to get an array of its attributes, then iterate
through the array to find the attribute whose TagString property equals
"DETAIL_NUMBER", and add the value of the TextString property to the
list box, if it is not already there.
"Rob Tomson" wrote in message
news:3D81F02EDF2673B1F0C0B894687F73C8@in.WebX.maYIadrTaRb...
> wow, thanks! now how do i extract an attribute value from each block that
> has the tag of 'DETAIL_NUMBER' and add it to a list box w/ no duplicates?
>
>
>
> "Tony Tanzillo" wrote in message
> news:84FD6D8B6A89B0A6B9D2F81E754AD40D@in.WebX.maYIadrTaRb...
> > Dim ss As AcadSelectionSet
> > Set ss = ThisDrawing.PickFirstSelectionSet
> > ss.Clear
> > Dim ft(0 To 2) As Integer
> > Dim fd As Variant
> > ft(0) = 0
> > ft(1) = 2
> > ft(2) = 67
> > fd = Array("INSERT", "DETAIL_BUBBLE", 1)
> > ss.Select(acSelectionSetAll, , , ft, fd)
> >
> > "Rob Tomson" wrote in message
> > news:BA2796A674E4AAF5F7A18DC7DD58A9E9@in.WebX.maYIadrTaRb...
> > > how do i make a selection set of all block references called
> > 'Detail_Bubble'
> > > out of all the layout tabs?
> > >
> > > thanks,
> > > Rob
> > > vb6, a2k2, w2k
> > >
> > >
> >
> >
>
>