|
MicroStation Python Python Development for MicroStation Programming Examples |
Search LA Solutions for articles about Python …
Although it's not mentioned in Python help, the maximum length of a MicroStation Python file name is 48 characters, including the file extension.
A Python file name having more than 48 characters will crash MicroStation without warning.
Bentley Programming Wiki Python Programming Wiki
| Title | Link | Comments |
|---|---|---|
| Bentley Programming Wiki | Python Programming Wiki | Examples by mostly Bentley Systems staff |
| DGN Utilities | DGN Utilities | Utilities for Analysing DGN objects |
| List Directories | List Directories | Utility for displaying a folder structure |
| Title | Link | Comments |
|---|---|---|
| Activate New File | Activate a New DGN File | Open and Activate a named MicroStation DGN file |
| Open a DGN File | Open a DGN File as a Work File | Open a named MicroStation DGN file as a programmer's Work File |
| Create a New DGN Model | Create a New DGN Model | Create a new, named, DgnModel |
| Create a DgnModelRefList | Create a DgnModelRefList | Create a new DgnModelRefList. Avoid confusing with ModelRefList! |
| BeFileName Class | BeFileName | Demonstrates MicroStation Python file and folder manipulation |
MicroStation 2026 installs Python for you. As with VBA, you don't need to install anything else. MicroStation provides the Python Manager, which you will find in the Utilities tool set.
| Install Python | MicroStation 2026 installs Python for you. Python Manager appears in the Utilities menu |
| MicroStation installs additional Python modules | See Python help for details |