Stefan,
thank you very much for the directions !! I had found the Script_ help but just in the absence of an explicit example I struggled to apply it to my part ... so thank you very much! Unfortunately, the previous answer refers to a script that does not work in the V22 version .... By chance you updated it in the meantime? You are really very kind and I congratulate all those who work on developing this project. beginners like me ... there are but they are few and should refer to more functions and potentialities that this combination of script and CAD is capable of expressing.
Regards
Francesco