In my case all the blocks are not scaled > scale xyz = 1
I need to calculate the BoundingBox of dynamicblocks (INSERT) excluding certain layers, currently I am able to calculate the BoundingBox processing the information of the block definition (non-dynamic BLOCK) and excluding certain entities or layers and transforming the two points obtained for each inserted block (INSERT) with Matrix Transformation functions (thanks to Lee Mac, gile, Nesterovsky, Wilson, etc.).
This method does not work with dynamic blocks, very simple example:
- Dynamic block with two parameters: length and height
- rectangle on layer A (yellow)
- rectangle on layer B (red)
Question: how to calculate the BoundingBox considering only the entities on layer B (red)?