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.
You must review and accept the License Agreement during installation. Enabling Python Assistant means you agree to the AI Product-Specific Terms and Bentley AI User Guidelines, both of which are linked during installation and available online.
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.
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.
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.
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.
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.
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.
Absolutely. The generated code appears in the Python Editor, where you can review, modify, and enhance it as needed.
Try rephrasing your request using simpler or more specific language. You can also refer to the example prompts for guidance.
Bentley collaborates with reputable partners to deliver AI-driven features and solutions. The selection of large language models (LLMs) may vary depending on Python Assistant or Bentley Copilot features and is subject to change as our offerings continue to evolve.
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.
Bentley prioritizes data security. By default, Python Assistant does not capture or store user data. You remain in full control of how your data is used.
For additional details do check Data Security and Control.
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
No data is sent unless you explicitly choose to submit feedback by clicking the thumbs-down button after receiving an answer. In that case, only the prompt and your comment are sent—no code or design data is transmitted or retained.
Bentley is committed to Data Stewardship, and we can confirm that Subscriber Data is not used to train this feature.
Subscriber Data is not retained; prompts are temporarily held within Bentley’s centralized processing environment solely for service delivery purposes. Please be aware that if a user chooses to provide feedback to Bentley, such information will be retained in accordance with Bentley's policies.
Bentley centralized processing environments are localized to data center regions within the US. Bentley has adopted a variety of controls including self-certifying under the EU-U.S. Data Privacy Framework, UK Extension to the EU-U.S. Data Privacy Framework, and the Swiss-U.S. Data Privacy Framework to ensure the adequacy of protection where Subscriber Data contains personal data which needs to be transferred to the US. To learn more about the Data Privacy Framework program, and to view our certification, please visit Data Privacy Framework. Bentley maintains appropriate safeguards when storing data outside of the jurisdiction in which it was collected to ensure compliance with applicable laws and regulations.
Bentley’s centralized processing environment is covered by Bentley’s enterprise privacy and security programs. Learn more in the Bentley Systems Trust Portal.
Bentley is aligning its AI practices with international standards, such as ISO 42001 and the NIST AI Risk Management Framework. Bentley assesses the Python Assistant as presenting minimal to limited risk under these frameworks. While Bentley does not currently publish its risk or conformity assessments, it will provide reasonable support to accounts conducting their own evaluations.
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.
For more detailed Python-related FAQs, refer to this article
MicroStation Python: FAQs
Python: Documentation | API Presentations | FAQs | GitHub | Samples | Wikis | Blogs