Because you're passing the type too early. It needs two more parameters; radius x and radius y which should probably both be 0 in your case.
Edit: Oh also you're creating your line inside the unsafe area (i.e. in the area where in void edge mode everything is deleted and in solid edge mode there is a wall), so your line of DSTW is only visible if the simulation is paused.