Python Manager
Python Manager helps you create custom tools and automate workflows using the popular Python programming language. You can also create, interact with, and edit Python scripts in the MicroStation. With Python Manager you can take advantage of the most popular and largest programming language resource community.
LEARNING AND RESOURCES
You can use the following resources as referral materials.
We recommend using 3 resources together to create and edit Python projects.
- The MicroStation Python API: Provides reference material when creating Python filesOverview | iTwin Platform (bentley.com).
- Bentley Communities: Provides continually updated information regarding Python in MicroStation. About the Python Project https://bentleysystems.service-now.com/community?id=kb_article_view&sysparm_article=KB0038428.
- Example Scripts: Provides ready-built projects that can be used to test the features of the Python Manager. Examples can also be used as a template or reference when creating a Python project. These can be found in the following location - C:\ProgramData\Bentley\PowerPlatformPython\Examples\Microstation\. New samples will be added to the MicroStationPython GitHub repository between MicroStation releases. BentleySystems/MicroStationPython: MicroStation Python Implementation, Examples, Tests, Build Scripts (github.com).
- Recording Macros: Macros recording and promoting to Python is a quick way to reference syntax.
- The Internet: The Internet has a plethora of learning and reference resources for Python. For Example: Programming with Python | Python for Beginners [1 of 44] (youtube.com).