The following workflow sequence is used in CADrail, it is just an example how it could be done.
The track arrangement in the plan is flat to start with (elevation 0), the grade left of the passing siding section will be at 1.8%, the passing siding section at 0 % and the section to the right at 1.5%.
Step 1 select the three track pieces of rhe left curve as a figure (grouped in AR parlance)

Step 2 select the grade tool and click on the figure. That will show the following dialog box.
it shows the curve, the left end is designated as Z1 the end at the turnout Z2.

Check the "Assign new grade", Z1 is the fix point (that's where the grade starts) , insert the 1.8% grade, immediately it will show the elevation of Z2. Want that elevation at a predetermined value? Input that value in Z2 and immediately it shows the grade in %.

Then select the passing section as a figure (group), select grade tool and this will show: no grade, no elevation.

Since it is supposed to be flat all one adds is the precise elevation of Z2 of the first figure as the Z1 in the second figure (a copy/paste routine) enter 0 as the garde and Z2 shows the same elevation as Z1

And the same routine once more for the track on the right of the passing section. Copy the elevation value from the adjacent Z2 into the new Z1 grade add the % and Voilà the end elevation shows in Z2.

Demonstrating/explaining it takes a lot longer than doing it. "Z" indicates the "Z" axis in the plans
Once done it stays there for eternity, til the cows come home or the user adjusts it. ;) :D The figures (groups) can be as large or as small as needed.