I saw multiple questions asking about how to export default dimension while developing custom entity . The process is very simple , If you want to export default dimension out from any table .

Here I am taking example of worker . Worker dimensions are store in HcmEmployment table . If you want position specific you can get it from HcmPositionDefaultDimension. HcmEmployment is linked to Hcmworker table using recId. So Jjst create relations as shown in below link and add field DefaultDimension from DimensionSetEntity as display value in the fields node.