Create Element Templates From Levels in DGNLIB


Product(s):InRoads, MX, GEOPAK
Version(s):08.11.09+
Area: Basic Settings
Original Author:Bentley Technical Support Group

 

Question:

Is there a way to easily create Element Templates for use in the Feature Definitions?

Answer:

http://communities.bentley.com/products/road___site_design/m/road_and_site_design_gallery/268431/download.aspx

This MicroStation Visual Basic Application exports all levels in the currently opened DGNLib file to a XML file that can then be imported to create Element Templates in the Element Templates application within MicroStation.  The XML file format will be such that the Element Template name will match the level name and the level for the Element Template will of course be set to that corresponding level name.  The color, style and weight of the Element Template will all be set to "ByLevel".  This application is useful for bulk creation of Element Templates for those of you looking to the future technology of Element Templates controlling your drawing environment.  In the case of the client requesting this, they had a unique level for every payitem.  They wanted those levels to be used through Element Templates but did not want to have to create thousands of Element Templates manually.