Message 1 of 2
Overkill on Selection Set (Polyline) - 2012
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Afternoon,
I have some code for removing the (0) length sections from a selected polyline and it works on 2013 autocad forward.
' Remove 0 Length lines in Polyline
Dim myPSR As PromptSelectionResult = myEd.SelectAll
If myPSR.Status = PromptStatus.OK Then myEd.Command("_-overkill", myPSR.Value, "", "")
myEd is my EditorInput.Editor.
However, I have (1) guy still using 2012. The .Command is not a member of Document in the 2012 build. So I have been trying to write an equivalent just for 2012 without success.
Does anyone have any thoughts? The suggestions from Visual Studio did not work.