RepCad Posted December 20, 2019 Share Posted December 20, 2019 Hi all guys, I'm recently started vba autocad, for my first program I'm going to create a selection set of texts and sort the texts by y coordinate, but I couldn't find a way to sort them by Y coordinate : Dim ss As AcadSelectionSet Dim FilterType(0) As Integer Dim FilterData(0) As Variant Set ss = ThisDrawing.SelectionSets.Add("MySS") FilterType(0) = 0 FilterData(0) = "TEXT,MTEXT" ss.SelectOnScreen FilterType, FilterData Can someone give me a solution? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.