.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using database

8 REPLIES 8
Reply
Message 1 of 9
gilseorin
486 Views, 8 Replies

Using database

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.
8 REPLIES 8
Message 2 of 9
gilseorin
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.
Message 3 of 9
NathTay
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
Message 4 of 9
gilseorin
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.
Message 5 of 9
NathTay
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
Message 6 of 9
gilseorin
in reply to: gilseorin

Sorry,but where is it?
Nothing can be found.
Message 7 of 9
NathTay
in reply to: gilseorin

Sorry. Here it is.
Message 8 of 9
gilseorin
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...
Message 9 of 9
gilseorin
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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost