Hello,
am trying to get BlockReference subentities. I need to get them in world coordinates so I can't use BlockTableRecord of BlockReference which gives me entities in objects coordinates.
So I use following code to get entities:
DBObjectCollection entset = new DBObjectCollection();
br.Explode(entset);
Problem is that sometimes I get error eCannotScaleNonUniformly Is there any workaround for this ?
Regards
Piotr
Get the BlockTransform from the block reference, then iterate the objects in the BlockTableRecord and transform them by the BlockTransform.
You can't transform entities in non-uniformly-scaled block references.
If you only need coordinates, you can use the BlockTransform to
do that.