Hello!
White glue is the way to go here - I'd just suggest a slightly different technique. The way I did it was to put some white glue along the "rope", and then, using bare fingers, to run the glue down the length of the line, wiping off te excess in process. Then let dry for a few minutes - the "rope" gets slightly sticky, you can coil it on some object like smooth metal rod or something. It will be sticky enough to stick together, but dry enough that it can be taken off of the rod and placed on the model.
Hope it helps, have a nice day
Paweł