How can I create a custom tool in CATIA V5?

I want to create and import the resource list from CATPart or CATProduct file into Process, and perform real calculation processing according to the drawn shape.