Retrieve the name of preselected elements in a sketcher?

Hello

In solidworks, in order to write macros:

How do I retrieve the name of the pre-selected  point and line in an open sketcher before launching a macro that uses them?

thank you and see you soon

Hello In the API Help see at selectbyid2