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

How to insert a block from file

2 REPLIES 2
Reply
Message 1 of 3
fantarama
210 Views, 2 Replies

How to insert a block from file

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!
2 REPLIES 2
Message 2 of 3

Dim dbDwg As New Database
dbDwg.ReadDwgFile(fullBlockPathWithExtension, IO.FileShare.Read, True, "")
blockdefObjId = db.Insert(BlockName, dbDwg, True)

voila
Message 3 of 3
fantarama
in reply to: fantarama

Thank you!

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