UDFs instantiation with Knowledge pattern from xGen published geometries

Hello everyone ! I would like to instantiate several gear UDFs on a skeleton generated from Xgenerative. I created points, plans, and lines from Xgenerative which I then published so that I could build on them with Knowledge pattern. Do you know which function to use in the script to read the elements of an ordered geometric set ?