find2d
Finds a Shape2d sub-part which has been labelled. See Shape3d.label.
If there are more than one sub-part with the same label, then one is returned, with no guarantee which is selected. Therefore, it is possible that models will break under later versions of FooCAD. So keep your label unique! (Or use findAll2d).