The Export Text from MicroStation project has several files...

1  la_solutions_export_text_elements.py, which contains most of the code
2  la_solutions_point_object_info.py, which contains a data class to store point data
3  la_solutions_configuration_vars.py, which contains functions to work with MicroStation configuration variables
4  la_solutions_match_with_class.py, which shows how to match a Python class with other classes
5  __init__.py, which contains no code but which Python uses to define this project
6  ReadMe.txt, this file

Open la_solutions_export_text_elements.py using the MicroStation Python Manager.  You can run that file from the Manager.