I am a structural engineer with a little bit of control over computer programming.
My job is structural design, as well as drawing construction drawings.
Currently I am using libdxfrw to program the rebar drawing of the box culvert. At present, I dont know how to add a dimension（DRW_DimLinear）. I am not a professional programmer, so this problem can't be solved. All the code in librecad is too hard to me.