I am using Database.WblockCloneObjects() to copy linetypes from external drawing. It works fine if linetype doesn't have a reference to complied shape file (.shx). If it does, linetypes are copied without shape-referenced part (e.g. geometries like rounds).
Is there any solution?
Is there a reason why you can't just use LoadLinetype()?
Just use Database.Insert("dwtFile.dwt",,,)
Are you shure about this?
There are three overloads and only two of them accept string parameters, which are blockName from another database, as I understand:
public void Insert(Matrix3d transform, Database dataBase, bool preserveSourceDatabase);
public ObjectId Insert(string blockName, Database dataBase, bool preserveSourceDatabase);
public ObjectId Insert(string sourceBlockName, string destinationBlockName, Database dataBase, bool preserveSourceDatabase);
Something like this http://forums.augi.com/showthread.php?145986-Insert-External-DWG-file-with-attributes
Can't find what you're looking for? Ask the community or share your knowledge.