"You can get
the IDs of all references from the aforementioned method [GetBlockReferenceIds],
and compare the BlockId or OwnerID property value of each,
to the id of the block table record for the desired space."
I'm a bit late to join the party.. I know..
The example about looping through and using the Name property seems close to what the question was about; though I'm not clear why creating a new BlockReference, at some point that one might not even be interested in inserting at, is required? Any other way to get a BlockReference without that bit of 'cheating' ?
However, you mentioned
"and compare the BlockId or OwnerID property value of each,
to the id of the block table record for the desired space."
Aren't those Id's managed by the API or AutoCAD, whereas the Name property on BlockTableRecord : SymbolTableRecord, is what's available for developers to use?
E.g, if we change the quantity of a given part No, the part No would be used to locate all blocks by Name that need to be updated owing to this change in quantity.
How would the comparison of BlockId against "id of block table record for the desired space" be useful in such a case? Or should the understanding be that BlockId and Name property serve the same purpose? Thanks.
Rico.