Message 1 of 1
Explode Scaled Block Programmatically
Not applicable
02-26-2010
09:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
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