Hello, lardman. Thanks for your reply.
I meant, when I am in "Sketcher" Mode and select an element(Point2D, Line2D, etc..),
how can I get a File name? Not Catia name(Part Number) and Catia instance name.
Here is my script which I found on Google and I modified a little bit.
Of course, I know...