I've written several articles about Engineering Content (see sidebar menu). Here are some Python examples that show how EC technology can be used in everday situations.
Smart Line Labeller
shows how to annotate a DGN line element with a TextField that updates as the line is modified.
Smart Shape Labeller
shows how to annotate a DGN shape element with a TextField that updates as the shape is modified.
A shape object has area and perimeter properties.
Smart Solid Labeller
shows how to annotate a DGN solid element with a TextField that updates as the solid is modified.
A solid object has volume and surface area properties.
The examples listed below are written by Jon Summers. Bentley Systems examples are delivered with MicroStation Python.
| Project | Download |
|---|---|
| Smart Area Labeller | la_solutions_label_area_ec.zip |
| Smart Line Labeller | la_solutions_label_line_ec.zip |
| Smart Solid Labeller | la_solutions_label_solid_ec.zip |
Post questions about MicroStation Python programming to the MicroStation Programming Forum.