https://community.trimble.com/servlet/JiveServlet/downloadBody/34458-102-1-44044/bench+template.vcl.zip
The above link is to a simple example you can import into your project. The logic is like this.
If the depth is less than 1.5 m, then tie to surface
If > 1.5 m, Go up 1.5 m and over 0.01
If > 0.01, Go up 0.0 and over 800mm
If the depth is less than 1.5 m then tie to surface
If > 1.5 m, Go up 1.5 m and over 0.01
If > 0.01, Go up 0.0 and over 800mm
Repeat to cover the anticipated depth.
The Utility project templates have similar examples. When you define the template test several preview heights to make sure it does what you want.
I would encourage anyone with custom templates to share them with others.
