A dimension entity has the method OdDbObjectId dimBlockId(). A block contains all dimension geometry. If any dimension property is changed, this block is recomputed.
You can get simple entities such as lines, multiline text, etc. by iterating through the dimension block.