We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How save BlockEntity as .svg file?

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 ?

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;