I am use Aspose.CAD
I am aware that I can save DWG file as .svg file.
Can I create one separate .svg file for each BlockEntity in image.BlockEntities ?
@IrinaAvrutin,
I believe you may try something like this and replace BlockEntities collection:
...loading of the drawing...
CadBlockDictionary allBlocks = cadImage.BlockEntities;
string[] keys = new string[allBlocks.Keys.Count];
allBlocks.Keys.CopyTo(keys, 0);
for (int i = 0; i < allBlocks.Count; i++)
{
CadBlockDictionary newBlock = new CadBlockDictionary();
newBlock.Add(keys[i], allBlocks[keys[i]]);
cadImage.BlockEntities = newBlock;
cadImage.Save(...);
}