ManagedAutoTagElementExample uses Managed DgnPlatformNet API To demonstrate attaching tags to elements. This sample uses AddIn class ElementChangedEvent to capture newly created elements.

This sample should be launched from MicroStationDeveloperShell.bat so that environment variables are initialized properly. This sample can be built directly from Visual Studio or using ManagedAutoTagElementExample.mke file.

When this sample is loaded in MicroStation and user creates any new element a dialog will appear. User can either cancel the dialog or choose between two options to attach a tag to the newly created element.

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.