.NET

Reply
Contributor
Posts: 17
Registered: ‎04-16-2007
Message 1 of 3 (101 Views)

How to insert a block from file

101 Views, 2 Replies
11-21-2008 07:38 AM
Like subject, i need to import a lot of block that are in single file, how can i do?

I've tried with Database.Insert but i didn't understand how it work!
Valued Contributor
Posts: 57
Registered: ‎07-10-2008
Message 2 of 3 (101 Views)

Re: How to insert a block from file

11-27-2008 09:00 AM in reply to: fantarama
Dim dbDwg As New Database
dbDwg.ReadDwgFile(fullBlockPathWithExtension, IO.FileShare.Read, True, "")
blockdefObjId = db.Insert(BlockName, dbDwg, True)

voila
Contributor
Posts: 17
Registered: ‎04-16-2007
Message 3 of 3 (101 Views)

Re: How to insert a block from file

11-27-2008 10:53 AM in reply to: fantarama
Thank you!

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
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

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

Ask the Community