Makroprogramming

Hello, I'm working on project with Catia for my Education. I have a completed CatProoduct and want to read the Coordinates, the offsets or the measures and write it into an excel-file. I have a Book for makroprogramming but there i can find only syntaxes to create those offsets but no to read them. Could someone help me to solve this problem or maybe could give me good sources for the informations? Thank you very much