For doing that, I'd generate the G-code as a "Pencil Tracing" machine op, On Condition (down the middle). Once you have the code for one figure-8, just repeat it as many times as you want wraps. This operation is only available in the Pro and higher versions, though. If you have to do it with the Standard version, generating the code as a flat figure-8 and adding a Z move by hand-coding might be the way to make this work.