I tried your code but everytime it asks for users selection. I can work more on your code and get it done my way.
I have figured out one more method where i can get all the text/string available in Entire Autocad Drawing, and also i am able to send it to excel file using OLEDB. I have done it in VB.Net. I will change the code to C# once i finish my task.
But the problem is:
The solution i thought for linking the text with one another is.
Getting the Position (Co-ordinates) of the title (JOB NO) and assuming that X axis is same, we will give a specific range of Y co-ordinates that if a text/string exists in this range grab the text. and store it in an array/list.
Then we will have all the Heading/Title in one array and the values in one array. This is the idea for the Right Bottom table(Title Block)
For the Left bottom table(BOM). Search for the string Mark and increment only the Y Co-ordinate range and grab all the text untill the range gets bigger(As the last row and the first row height is big) And the same logic for other columns.
I have this idea but i am not sure how to do it.....
It is very scrupulous operation because all of the texts
have a different coordinates of Y in the row, so I can't do the correct sorting
of these texts according this Y value, sorry, it is impossible to me
Thank You for your reply.
I am really interested in doing this, as this is quite challenging. Is there any possible approach.
You can give me some hints, as this is my first try in autocad customization.
I have sucessfully copleted the task with a help of very senior person who has experience on Autocad customisation.
It was vary challenging.
Thank You for your time and responses
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register