Hello,
I don't know, wether the OP's issiue is solved or not, I just liked to place a hint for getting Blockdef-Names (Blocktablerecords)
Blockreferences have 3 Id-s to their Blocktablerecords:
- .BlockTablerecord: points always to the deifning Block, meaning to the "real" one in case of a static Block, and to the Anonymous one (*U....) in case of (modified) dynamic Block
- .AnonymousBlocktableRecord: points to the defining Blockdefinition (*U...) of an altered dynamic Block (means, some Properties were set), else null/Nothing
- .DynamicBlocktableRecord: points to the "main" BTR, so to the real one in case of static block, and to the master in case of dynamic blocks, this is ALWAYS set, regardless of Blocktype
Conclusion:
to test the Name, or content of ANY Blockref, you can always parse the "br.DynamicBlockTableRecord"
As I said, this may not help in this issue, but could be useful if someone reads the post.
BR,
Daniel