MicroStation 2024 Python Python Development for MicroStation Programming Examples |
Search LA Solutions for articles about Python …
MicroStation 2024 provides the Python Manager. You'll find it in the Utilities tool box.
Bentley Programming Wiki Python Programming Wiki
Title | Link | Comments |
---|---|---|
Bentley Programming Wiki | Python Programming Wiki | Examples by mostly Bentley Systems staff |
Title | Link | Comments |
---|---|---|
Get Line Vertices | Get Line Vertices | |
Get Element at Offset | Get Element at Offset | |
Count Elements by Type | Count Elements by Type | |
Count Elements by Level | Count Elements on Level | |
ChildElemIter | Enumerate the contents of a complex element | |
Export Text | Export Text Elements to a file | Demonstrates pandas to create an Excel file |
Class Selector | Choose a class by name | Demonstrates Python match , case and __qualname__ |
Title | Link | Comments | MicroStation Window Title | Set MicroStation Window Title |
---|---|---|
MicroStation Clock | MicroStation clock using PyQt | See PyQt |
Hello World! | Hello World using PyQt | |
Hello World Version 2 | Hello World using PyQt: Version 2 | |
Hello World Version 3 | Hello World using PyQt: Version 3 |
Title | Link | Comments |
---|---|---|
Get Report Folder | Get Report Folder fom MS_REPORT_OUT |
MicroStation 2024 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 2024 installs Python for you. Python Manager appears in the Utilities menu |
MicroStation installs additional Python modules | See Python help for details |
Fluent Python | O'Reilly Media | A thorough guide to the mechanics of Python |
Geometry for Programmers | Manning Publications | A great introduction to the maths of vectors, matrices and some dedicated Python modules |
Math for Programmers | Manning Publications | Takes an alternative way to CAD to analyse multi-dimensional data |
Title | Article Location | Comments |
---|---|---|
Visual Studio Code | Visual Studio Code | Microsoft freeware |
Jupyter | Jupyter | Interactive development environment for notebooks |
Message Center for Developers | MicroStation Message Center | See examples provided with MicroStation Python |
User Interface: PyQt vs. Tkinter | Comparing PyQt with Tkinter | Two different GUI toolkits: see examples provided with MicroStation Python |
There is a huge range of packages that enhance the Python ecosphere. Python.org provides a search tool to help you find a package.
Some packages are installed by MicroStation, so you don't have to. They are mentioned in the help section API Versions.