I usually see duration lines on scores. But, how do you engrave it on Dorico?
Beats me, but it might be for non-time signatures
Use a line! You can attach a line to start at a notehead and end at a grid position.