Message 1 of 9

Not applicable
01-07-2011
02:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
HI,
I have a selection set containing polylines from which each entity needs to be passed to the method that accepts a AcadPolyline object.
My question is how to get from the selection set entity to the i.e.. AcadPolyline?
Code:
Dim acSSPrompt As PromptSelectionResult = acDoc.Editor.GetSelection()
Dim acSSet As SelectionSet = acSSPrompt.Value
'' Step through the objects in the selection set
For Each acSSObj As SelectedObject In acSSet
'here I need to convert acSSObj to AcadPolyline
Next
Thanx,
Solved! Go to Solution.