I would like explode a block which still maintain all sub blocks' XData
The above code does the job. However I can not get the exploded collection
Use the following code I can get object collection but there is no XData for each sub block.
Dim colAssemblyEnt As DBObjectCollection = New DBObjectCollection() myBlockRef.Explode(colAssemblyEnt)
My question is how can I get the sub block collection with each block's XData?
Solved! Go to Solution.
Solved! by Virupaksha.aithal. See the answer in context.
check this blog post http://adndevblog.typepad.com/autocad/2012/05/getting-the-entities-created-from-explodetoownerspace-api.html#tp . Though the blog is in C#, logic should help.
check this blog post http://adndevblog.typepad.com/autocad/2012/05/gett