UDFs instantiation using a Knowledge pattern on a xGen skeleton

How to pan​​​​​​​elize a polysurface using xGen, UDFs and knowledge patterns​​​​​​​