Access to worksheet user tree was added in Origin 2021b, namely .userprops as a dict or .usertree as an xml ElementTree, see the code below:
import originpro as op
wks = op.new_sheet()
wks.set_str('tree.data.name', 'Larry')
wks.set_int('tree.data.age', 37)
wks.set_float('tree.data.mean', 23.56)
#access as xml tree
trWks = wks.usertree
trData = trWks.find('data')
for child in trData:
print(f'{child.tag} = {child.text}')
#or you can access it as a dict
dd = wks.userprops['data']
print(dd)
James