hahaha, okay Roy.
Actually, you're the only one arguing here.
Oddly, I have to clarify again. I said that our *previous* version had a non-trivial amount of code, specifically to be able to ignore objects on certain layers. The code you offered, which is for Bricscad only, does nothing in that regard. You literally posted nothing but a partial alternative to GetBlockSize. Which is humorous to me. The only thing you "proved", is that GetBlockSize is a fantastic little helper function!
Secondly, I told you that our implementation does not use vla-boundingbox, and here you are again saying I claimed that GetBlockSize was more accurate. So to clarify that, again, GetBlockSize is more accurate than iterating through all entities in a block, and doing the math on each vertex.
But no matter how any sensible person shakes its, GetBlockSize is a great little helper function! And this thread really backs that up! Go Team GetBlockSize! Keep on truckin'!
As to the original query of this thread, as I stated, we'll make a quick copy of the block in question, without the undesirable layers, and call GetBlockSize on that. Yet another fantastic capability of GetBlockSize -- I don't have to insert the block to query its size! So again, what a helpful tool!
Searching for a meme or gif or something to sum up how I feel about GetBlockSize, but I'll just leave it at this:
Thanks, Roy, for helping to show what a great helper function GetBlockSize is!
--J