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
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!