About the Python Project


Users can now make use of the Python scripting language to customize, automate, and extend MicroStation functionalities. Python within MicroStation provides access to the most popular, resource rich, and easiest to learn, scripting language available. Users can also make use of the Python Assistant, an AI chat interface, which can work in tandem with users to build custom tools and automations using natural language prompts. 

Useful Links

MicroStation Python Assistant (NEW FEATURE: v25.0.0)

Python, Programming & Learning

 

Why Python?

What is the value of this feature?

Users and third-party developers have unique requirements that extend beyond what MicroStation delivers as part of the core features. Users stand to gain several benefits:

How does it work?

MicroStation includes a user interface to manage, run, edit, and seek guidance via the Python assistant for Python scripting. Python serves as an API (Application Programming Interface) to the back end of MicroStation and due of the reasons above, makes the logical choice to make this available, along side VBA, and the software development kit. 

How can I learn to use this feature? 

The basics of using and developing Python scripts can be found in the MicroStation Help document under the "Python Editor" section via the ribbon. This can also be accessed via the Python Editor in MicroStation. 

The other options available from the drop down includes a link to this page, and a link to the API documentation

How can I learn to script in Python.

Python has become one of the most popular scripting languages available today which means there are no shortage of learning resources available. The Learning Resources for Python Scripting lists some great resources for learn Python scripting.  

Learning is all part of a journey and sharing those experiences is a great way to learn from what users have done before. The MicroStation Python Blogs List page outlines blogs about Python.

Observing and using examples scripts also provides a way of learning. MicroStation includes many examples scripts to aid in this learning and is outlined on the Using MicroStation Python Samples page.

And of course, one of the easiest ways of developing your Python skills while being productive, is by using the Python Assistant. Using natural language prompts, users can ask the Assistant to write scripts, ask questions about scripts, ask it to help with debugging, and make use of the Assistant as a mentor. 

Other Language Sources 

Italian