How to convert element id to internal id by python scripting in LS-PrePost?

I am endeavoring to extract the effective plastic strain from each component in LS-PrePost. My reference is the document titled 'LS-PrePost Scripting Command Language, Python Language and Data Center.pdf,' and I intend to accomplish this task using Python. My strategy includes the following steps:

  1. Record each part information and store it as dictionary format.
  2. The information included part name, part user ID, element ID, and element type.
  3. Using DataCenter module: def get_data() method to extract the element data.
    Question here. How to convert element ID (step2) in internal ID?

I appreciate your time and assistance with this.

get_data() method below.