Python Assistant – FAQs


 

Table of Contents

 

 

What is the Python Assistant in MicroStation 2025?

Python Assistant is a built-in feature in the Python Editor dialog that helps both coders and non-coders generate Python scripts using natural language prompts. It simplifies automation and tool creation within MicroStation.

 

 

How do I use the Python Assistant?

You can access the assistant through the Python Editor dialog. Simply type your request in the Ask Assistant box, and the assistant will generate Python code based on your prompt.

 

 

Where is the Python Editor dialog located?

Python Editor dialog is located on the Utilities tab of the Drawing Ribbon.

The quickest way to start with using Python in MicroStation is to use the Python Editor dialog on the Utilities tab of the Drawing Ribbon.

 

 

Who can benefit from using the Python Assistant?

Both beginners and experienced developers can benefit. Non-coders can generate scripts without needing to write code manually, while coders can accelerate their development process.

 

 

Are there any usage limits for the Python Assistant?

Yes. Under the Fair Usage Policy, you can send a limited number of prompts. Once the limit is reached, the assistant will pause for 12 hours before accepting new prompts.

 

 

Can I see examples of prompts to use with the assistant?

Yes. You can explore example prompts under the “See all prompts” section within the Python Editor dialog to get started quickly.

You’ll also find helpful suggestions under Python Assistant Prompts.

 

 

Is the code generated by the assistant always accurate?

Not always. The assistant uses AI to generate code, which may not be 100% accurate or context aware. Always review and test the generated scripts before using them in production.

Caution: It is an AI-generated module and may not be completely accurate.

 

 

Where is the chat history stored?

Chat history and interactions with the Python Assistant are stored locally in the following folder.

C:\Users\{UserName}\AppData\Local\Bentley\MicroStation\25.0.0\Copilot\Sessions\

 

Open File Explorer and key-in

%localappdata%\Bentley\MicroStation\25.0.0\Copilot\Sessions

 

 

Can I edit the code generated by the assistant?

Absolutely. The generated code appears in the Python Editor, where you can review, modify, and enhance it as needed.

 

 

What should I do if the assistant doesn’t understand my prompt?

Try rephrasing your request using simpler or more specific language. You can also refer to the example prompts for guidance.

 

 

What should I do if I encounter an error tracking Python Assistant's usage in MicroStation?

If you see an error indicating that Python Assistant's usage tracking has failed, the recommended solution is to repair or re-install the product. For best results, it's advisable to create a Deployment Image and perform the installation using Administrator privileges. This ensures all components are properly configured and helps prevent similar issues.

 

 

How can I choose whether to install Python Assistant during MicroStation installation?

Python Assistant is included as an optional component during the installation of MicroStation. If you prefer not to install it, simply uncheck the Python Assistant (Technology Preview) checkbox on the Features page during the installation process.

 

 

Where can I find more Python-related FAQs for MicroStation?

For more detailed Python-related FAQs, refer to this article
MicroStation Python: FAQs

 

 

Python: Documentation | API Presentations | FAQs | GitHub | Samples | Wikis | Blogs