Hi everybody, this is my first post in this forum and my entire knowledge of CorelDraw is using it for laser cutting. So my apologies in advance if I'm making any mistakes (e.g. asking the question in the wrong forum etc)

We have a laser cutting machine in our lab which uses coreldraw to export the drawings to laser cutting software as virtual printer. We also use solidworks to draw the sketches and export as DXF. when opening the DXF files in CorelDraw one has to do a lot of adjustments which is irritating and time consuming. I want to write a macro which automates these steps. consider this drawing for example:

the steps to adjust this drawing are:

opening the dxf file removing the centerlines for the circle changing all the line widths to hairline changing the color to red grouping all the objects into one changing the page size in a way to be 0.5 mm bigger on each side. so given the object size adding 1mm to it on x and y centering the object to the page (ctrl+p) and saving

I was wondering if any of you could help me to know how I can write this macro.

Thanks in advance

P.S. here you may find an example of the dxf file.