Hi,
Interesting to know that to check if is dynamic it's less expensive than to directly open the dbtr and get the name from it, but in cases when you *need* to open the btr/dbtr, like checking/adding attributes, may be its better to get the effective name from the dbtr. Also if we have a mix of dynamic blocks and the others, it seems more efficient in average, just to check dbtr instead to check if the block is or not a dynamic one.
By the way I'm working in a solution that may have a "massive" number of blocks (maybe thousands of them), both dynamics and non dynamics ones, and I'm using almost exactly the same approach i.e checking dyn/not dyn, and works pretty quick, so my question is purely academic.
Gaston Nunez