.NET

Reply
Distinguished Contributor
gilseorin
Posts: 177
Registered: ‎09-05-2006
Message 1 of 9 (161 Views)

Using database

161 Views, 8 Replies
10-08-2006 07:36 PM
Hi!
My project is almost done.
But,due to clumsy at using database and subroutine function,
having difficulty in completeing my project.
If anyone help, I would be happy very very much.
Attached file below.
Thank you in advance.
Distinguished Contributor
gilseorin
Posts: 177
Registered: ‎09-05-2006
Message 2 of 9 (161 Views)

Re: Using database

10-10-2006 06:17 AM in reply to: gilseorin
With this code, I could have only 1block inserted, then I erase it and with defalut layer "0" setting, purge all, and another block can be inserted with error message.
How could I have inserted all blocks at once with the command "blf" with no error?
I could not do anything against this.
Any help, I would appreciate it.
Dear, All ! Help me,plz.
Thanks in advance.
Distinguished Contributor
NathTay
Posts: 1,691
Registered: ‎12-15-2003
Message 3 of 9 (161 Views)

Re: Using database

10-10-2006 04:07 PM in reply to: gilseorin
I think your problem is with a bug in the API that means the Has method you are using to determine if the block definition exists is returning an erased object. I use the following function to return valid SymbolTableRecords. See the attached text for how I deal with it.

Regards - Nathan
Distinguished Contributor
gilseorin
Posts: 177
Registered: ‎09-05-2006
Message 4 of 9 (161 Views)

Re: Using database

10-11-2006 12:53 AM in reply to: gilseorin
Dear Nathan!
Thanks for help, but I don't know where to add your code for my one. I am novice and this is my first program with .net.
Sorry, but could you help me more?
Thanks.
Distinguished Contributor
NathTay
Posts: 1,691
Registered: ‎12-15-2003
Message 5 of 9 (161 Views)

Re: Using database

10-11-2006 03:45 PM in reply to: gilseorin
I have attached your code with modifications commented but I have not tested it.

I should also credit that my original example was derived from a C# example posted by Tony Tanzillo.

Regards - Nathan
Distinguished Contributor
gilseorin
Posts: 177
Registered: ‎09-05-2006
Message 6 of 9 (161 Views)

Re: Using database

10-11-2006 11:36 PM in reply to: gilseorin
Sorry,but where is it?
Nothing can be found.
Distinguished Contributor
NathTay
Posts: 1,691
Registered: ‎12-15-2003
Message 7 of 9 (161 Views)

Re: Using database

10-11-2006 11:56 PM in reply to: gilseorin
Sorry. Here it is.
Distinguished Contributor
gilseorin
Posts: 177
Registered: ‎09-05-2006
Message 8 of 9 (161 Views)

Re: Using database

10-13-2006 01:30 AM in reply to: gilseorin
Dear, Nathan!
It's difficult to solve my problem!
So, I provide test .dwg file, below and .dvb file that
invoking the equivelent result that I intended to get at dotnet,
the following below. continue...
Distinguished Contributor
gilseorin
Posts: 177
Registered: ‎09-05-2006
Message 9 of 9 (161 Views)

Re: Using database

10-13-2006 02:05 AM in reply to: gilseorin
Dvb file cannot be attached, so did it with text file.
Nathan! Or, Anyone, help me with any help.
Lack of dotnet program source, I have a difficulty in learning it.
I want various method. Any help, any comment, I would glad to.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community