.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Explode Scaled Block Programmatically

0 REPLIES 0
Reply
Message 1 of 1
zhaoxin1224
270 Views, 0 Replies

Explode Scaled Block Programmatically

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 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost