look into the example file, Boolean Example 1- basic operations.ZMX, saved under ZEMAX\Samples\Non-sequential\Geometry Creation, you will learn the basic operation of boolean object. r5#8Vzr
O>FE-0rW}e
The formation of the lens it's then down to you to deifne some built-in objects as parent objects.