Help with VB.NET stand alone app

Help with VB.NET stand alone app

alexandrescoelho
Enthusiast Enthusiast
691 Views
9 Replies
Message 1 of 10

Help with VB.NET stand alone app

alexandrescoelho
Enthusiast
Enthusiast
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
0 Likes
692 Views
9 Replies
Replies (9)
Message 2 of 10

Anonymous
Not applicable
>>I'm very worried, cause the term is ending.
What term is ending?
wrote in message news:[email protected]...
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
0 Likes
Message 3 of 10

alexandrescoelho
Enthusiast
Enthusiast
Sorry, the time I have to develop this solution is ending that is what i want to say with "term is ending"
0 Likes
Message 4 of 10

Anonymous
Not applicable
So you want to use native arx now? You've posted them same question in three groups now
and in different posts within the same groups.

wrote in message news:[email protected]...
Sorry, the time I have to develop this solution is ending that is what i want to say with "term is ending"
0 Likes
Message 5 of 10

alexandrescoelho
Enthusiast
Enthusiast
ok my friend i did it. I did it couse I have no more ideia to solve this problem, as I said I have already tried some possible solutions. So I thought if post in different groups could get differents solutions then i can code the best. So if you could post some interesting direction that could help me I will be greatfully. But please, don't waste your time asking me things that would not help to find a solution. I'm new in autocad development, so any help is wellcome.

Thank you Message was edited by: alexandrescoelho
0 Likes
Message 6 of 10

Anonymous
Not applicable
I don't think anyone is going to help you build an application that appears to be doing something that in fact, it is asking AutoCAD to do.

I can't see any other reason why you feel that it is so terribly important that AutoCAD's window remain hidden. Your response below pretty much guarantees that you will not get much if any help from anyone here, in any case.

Your only problem is that you are trying to do things that requires experience you don't have.

We can't help you with that problem, because we are not here to provide training.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

wrote in message news:[email protected]...
ok my friend i did it. I did it couse I have no more ideia to solve this problem, as I said I have already tried some possible solutions. So I thought if post in different groups could get differents solutions then i can code the best. So if you could post some interesting direction that could help me I will be greatfully. But please, don't waste your time asking me things that would not help to find a solution. I'm new in autocad development, so any help is wellcome.

Thank you

Message was edited by: alexandrescoelho
0 Likes
Message 7 of 10

alexandrescoelho
Enthusiast
Enthusiast
Tony, I am sorry for that. I do not wanted appear indelicate. I just do not want others users lost their time for nothing. I am really sorry. I am here at these groups to learn as several other users. I did not ask for a trainig, just a directon that could help me to code a solution. Several users, including you Tony help me, and I am really thank for it. I thought that here different ideias could be posted, and that is the reason that meke me post here. One more time, I am sorry if I did something wrong, and do not know that this group is only to experienced user.
Well, about Autocad window, is important to not show it because as i said this app is a part of a stand alone app that do much more than get texts from dwg files, this app do the same and so on for another kind of files and that is complet transparent for the end user, and it would not be cool if only autocad shows the window.
Anyway, thak you all for help me, and sorry for that things that I've done.
0 Likes
Message 8 of 10

alexandrescoelho
Enthusiast
Enthusiast
Well Tony, now it is a pleasure for me to say that I have finished my app, and say that you were wrong to say that nobody will help me. I have not too much experience and that isn't a trouble, it is a challenge. Whit some goodwill I could code a much better, just to do not say the best solution, going against all that you that wanted to me. Anyway, one more time thank you for help and thank for all users that do not make me belive in what Tony said.

Thanks one more time,

Alexandre S. Coelho
0 Likes
Message 9 of 10

Anonymous
Not applicable
He was saying you wouldn't get any help in this specific group - which is true... Not that you wouldn't get someone to write your
code
in any of the groups.

wrote in message news:[email protected]...
Well Tony, now it is a pleasure for me to say that I have finished my app, and say that you were wrong to say that nobody will help
me. I have not too much experience and that isn't a trouble, it is a challenge. Whit some goodwill I could code a much better, just
to do not say the best solution, going against all that you that wanted to me. Anyway, one more time thank you for help and thank
for all users that do not make me belive in what Tony said.

Thanks one more time,

Alexandre S. Coelho
0 Likes
Message 10 of 10

alexandrescoelho
Enthusiast
Enthusiast
Ok my friend Paul, it's alright now, let's forget it. 😉
0 Likes