Message 1 of 10
Help with VB.NET stand alone app
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
Well, one more time I'm trying to solve the same problem. At least now i did not found the best solution. Let me explain the problem. I'm trying to get all object the represents a text inside a drawing. So I'm trying to get texts from objects such as Mtex, DBText, Attribute Reference and Block References as well. But the problem is I have to do this through a stand alone application. I have done it in two different ways. First I try to do it getting all modelspace objects and selecting those are text. The main problem with this approach is the time the code needs to iterate over about 50.000 objects. On the second way I code a dll that is loaded by sendcommand inside my stand alone application to run inside autocad that get better on time to iterate over all objcts. The main problem of this another approach is that I'm setting the visibility of autocad as false, and when I try to run the sendcommand the interface must be visible. So what I'm looking for is a solution that works in my stand alone application coded in VB.NET without to show autocad while this app is running. I have to this in VB.NET cause it will be add to another application that were coded in VB.NET. So anyone could help, I'm very worried, cause the term is ending.
Thanks a lot
Well, one more time I'm trying to solve the same problem. At least now i did not found the best solution. Let me explain the problem. I'm trying to get all object the represents a text inside a drawing. So I'm trying to get texts from objects such as Mtex, DBText, Attribute Reference and Block References as well. But the problem is I have to do this through a stand alone application. I have done it in two different ways. First I try to do it getting all modelspace objects and selecting those are text. The main problem with this approach is the time the code needs to iterate over about 50.000 objects. On the second way I code a dll that is loaded by sendcommand inside my stand alone application to run inside autocad that get better on time to iterate over all objcts. The main problem of this another approach is that I'm setting the visibility of autocad as false, and when I try to run the sendcommand the interface must be visible. So what I'm looking for is a solution that works in my stand alone application coded in VB.NET without to show autocad while this app is running. I have to this in VB.NET cause it will be add to another application that were coded in VB.NET. So anyone could help, I'm very worried, cause the term is ending.
Thanks a lot