Explode Scaled Block Programmatically

Explode Scaled Block Programmatically

Anonymous
Not applicable
415 Views
0 Replies
Message 1 of 1

Explode Scaled Block Programmatically

Anonymous
Not applicable
I have a separate exe written in C#.
It opens a DWG file, finds blocks and explodes them.
I came across an issue when a block(objBlock) is scaled (XScaleFactor or YScaleFactor is not 1) and do objBlock.Explode(), it threw an error (Invalid input).
If I set the block's XScaleFactor and YScaleFactor to 1 before objBlock.Explode(), it has no problem.
But the result is not the same size as the original scaled block.
Is there a way I can explode a scaled block and keeps its scaled size?

Thanks
Xin
0 Likes
416 Views
0 Replies
Replies (0)