Steps as Lee Mac Suggests
- Use ForEach to create a list of points (assoc 10)
- End ForEach
- Loop through list of points (n-1) times where n is the list length
- Put in your dimension
- End Loop
Often there is a function out there that can 'plug and play' into a routine... below is a subfunction massoc which I find really handy, often using the 2nd option in the 2nd post...
'Key' in your case will be 10
lst in your case will be pdb (though you might be able to also use (entget bm)
The return is a list of all the keys, in your case the points, I think in the format (10 pt-X pt-Y pt-Z), so (CADR... to get the points only.