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()?
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);
Start with some of our most frequented solutions to get help installing your software.