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);
Access a broad range of knowledge to help get the most out of your products and services.