I'd like to get a Point3DCollection of all the endpoints of lines in a particular layer but I haven't found a way to do it.
I can figure out how to do it for blocks, but up until this point, I've never needed it for osnaps.
Dim myEndPtColl As New Point3dCollection
Dim myPointFilter(1) As DatabaseServices.TypedValue
myPointFilter(0) = New DatabaseServices.TypedValue(DatabaseServices.DxfCode.LayerName, "WALLS")
myPointFilter(1) = New DatabaseServices.TypedValue(DatabaseServices.DxfCode. ????? OSMODE 1 ?????)
Is this possible or am I going about this the wrong way?
Thanks in advance,
G.A. Blackburn
edit: PS - I'm using VB.NET