|
MicroStation CONNECT DgnPlatformNet Programming Examples C# |
Read developer notes about the DgnPlatformNet.
| Title | Article Location | Comments |
|---|---|---|
| Message Center for .NET Developers | Notification Manager | The Notification Manager composes messages for the MicroStation Message Center |
| Visual Studio and BMake | An overview of Microsoft Visual Studio and Bentley Make as build tools | |
| Windows | Set up your Windows environment to build a MicroStation AddIn application |
| Title | Article Location | Comments |
|---|---|---|
| Model Enumeration | Enumerating DGN models in a DGN file | Discusses model enumeration |
| File Enumeration | Enumerating DGN files | Discusses file enumeration |
| Scanning Overview | Programmer's overview of scanning | Discusses the background to scanning |
| Introduction to Element Scanning and Enumeration | Element Scanning and Enumeration | Demonstrates two simple techniques to get element information from a model |
| More Element Scanning | More Element Scanning | Demonstrates a more advanced scanning technique to filter elements from a model |
| Advanced Element Scanning | Scanning for Tag Elements | Demonstrates tag scanning and EC relationships |
| Title | Article Location | Comments |
|---|---|---|
| Introduction to Element Scanning and Enumeration | Element Scanning and Enumeration | Demonstrates two simple techniques to get element information from a model |
| Scanning Overview | Programmer's overview of scanning | Discusses the background to scanning |
| More Element Scanning | More Element Scanning | Demonstrates a more advanced scanning technique to filter elements from a model |
| Advanced Element Scanning | Scanning for Tag Elements | Demonstrates tag scanning and EC relationships |
| Harvesting DGNLibs | Harvesting Data from DGNLibs | Demonstrates how to obtain settings data from design libraries. |
| Harvesting Table Seeds | Harvesting Text Table seeds from DGNLibs | Demonstrates how to obtain Table seeds from design libraries. |
| Harvest Item Type Instance Data | Acquiring Item instance data | Demonstrates EC schema and EC query for harvesting Item instance data |
| Title | Article Location | Comments |
|---|---|---|
| Place a Cell or Shared Cell Element | How to create a cell element | Demonstrates use of COM class via InterOp |
| Create an Element | How to create a shape element | Demonstrates use of .NET class DgnPrimitiveTool |
| CurveVector.CloneWithFillets | How to use CurveVector.CloneWithFillets | Demonstrates use of CurveVector to fillet the corners of a rectangle |
| Fillet between Lines | An interactive tool to construct a fillet between two lines | Demonstrates use of DRay3d and TryCircularFilletBetweenRays |
| Title | Article Location | Comments |
|---|---|---|
| Rotate an Element | How to rotate an element interactively | Demonstrates use of .NET class DgnElementSetTool and rotation matrices |
| Highlight an Element | How to highlight an element | Demonstrates use of .NET classes ElementAgenda, ElementAgendaDisplayable |
| Focus on an Element | How to zoom to an element in a view | Demonstrates use of .NET class ViewGroup and others |
| Element Mensuration | How to measure element geometric properties | Demonstrates use of CurveVector to perform mensuration |
| Element Rewriter | How to rewrite an element correctly | Demonstrates use of Element.ReplaceInModel() |
| Title | Article Location | Comments |
|---|---|---|
| .NET TopLevelForm | TopLevelForm Class | A base class that shows how to integrate your form design with MicroStation using Visual Studio |
| Title | Article Location | Comments |
|---|---|---|
| Configuration Variables | ConfigurationManager class |
How to get and set configuration variable values in your code |
| Assembly Locations | Assembly Locations and Configuration | Where to put your .NET assemblies and how to configure MicroStation to find them |
| Reference Example | ReferenceManager class |
How to attach and detach references using C# |
| User Settings | User Settings class |
How to get and save user settings for your AddIn |
| Is DGN File? | Determine whether a file is a DGN file | Can MicroStation open a file? |
| Message Center for .NET Developers | Notification Manager | The Notification Manager composes messages for the MicroStation Message Center |