I want to draw a polyline that adds an additional segment when osnap is used. For example, if I use Osnap to snap to a node, an additional segment is automatically created without clicking the mouse button. Any suggestions?