Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
OpenBuildings | AECOsim | Speedikon
  • Product Communities
  • Building
  • OpenBuildings | AECOsim | Speedikon
  • More
  • Cancel
OpenBuildings | AECOsim | Speedikon
OpenBuildings | AECOsim | Speedikon Wiki Converting legacy XML section data to ProStructures MDB format
    • Building Design - Wiki
    • -OpenBuildings Designer
      • +What's New
      • FAQ - OpenBuildings Designer CONNECT Edition
      • Released Versions - OpenBuildings Designer
      • IFC4 Self-certification
      • +Installation - OpenBuildings Designer
      • +Migration - Upgrading from earlier versions
      • +Configuration - OpenBuildings Designer
      • +General - OpenBuildings Designer
      • +User Interface - OpenBuildings Designer
      • +Architectural Design - OpenBuildings Designer
      • +Structural Design - OpenBuildings Designer
      • -ProStructures Interoperability - OpenBuildings Designer
        • Configuration Changes to Support ProStructures Interoperability
        • How to add the ProStructure modify tools in the Structural ribbon
        • How to apply a chamfer to ProStructure elements
        • Converting legacy XML section data to ProStructures MDB format
        • How to convert TriForma elements to ProStructures elements
        • How to Enable/Disable Legacy Structural Tools
        • ProStructures "Configuration Audit Alert" message after opening Update 7 for the first time
        • ProStructures "Configuration Audit Alert" message when using a newly created Workspace
        • How to Change Layouts of ProStructures Elements
        • Layout of the structural steel element for existing profile
      • +Electrical Annotation and Design - OpenBuildings Designer
      • +Datasets and Content - OpenBuildings Designer
      • +DataGroup System - OpenBuildings Designer
      • +Floor Management - OpenBuildings Designer
      • +Grid Systems - OpenBuildings Designer
      • +Drawing Views - OpenBuildings Designer
      • +Annotation - OpenBuildings Designer
      • +Import/Export- OpenBuildings Designer
      • +ProjectWise Integration - OpenBuildings Designer
      • +Customization - OpenBuildings
      • +Platform Tools - OpenBuildings Designer
      • +Plumbing Design
      • Electrical Designer
      • +Learning Tips
      • +HVAC Design - OpenBuildings Designer
      • +Bentley i-model Composition Server
      • +OpenBuildings Designer Accreditation Program
    • +OpenBuildings Energy Simulator
    • +GenerativeComponents
    • OpenBuildings Station Designer
    • +OpenBuildings Speedikon + Bentley Speedikon V8i
    • +Bentley Facilities Space Planner CONNECT Edition
    • +AECOsim Building Designer
    • +iModel Plugin for Revit
    • +Social Distance Assessments
    • Working from home with OpenBuildings products
    • Working from home with Speedikon
    • +Special Interest Group (SIG) FAQs
    • +Structural Modeler_PS
    • +Configuration Explorer
    • +Legacy Products

    You are currently reviewing an older revision of this page.

    • History View current version

    Converting legacy XML section data to ProStructures MDB format

      Product(s): OpenBuildings Designer
      Version(s): CONNECT Edition
      Area: ProStructures Interoperability
    Subarea: Format Conversion

    Problem

    In Update 7, all ProStructures based structural members pull their available list of sections from MDB files as opposed to the traditional XML files from previous versions of OpenBuildings Designer (or when in legacy mode). However, there are some XML based sections that don't exist in any of the MDB files so they're unavailable for placement. Is there any way to convert XML data into MBD format so I can use those sections for ProStructures based members?

    Solution

    Yes, there is a process whereby legacy XML section data can be copied into an MDB file for use in ProStructures mode. The first section below outlines the steps to create a new MDB file for this purpose. If instead you want to copy certain shapes from an existing XML file into an existing MDB file, you can skip to the second section, making sure to append the copied data below any existing rows in the applicable MDB table.

    Creating a new MDB file to store your converted XML data

    1. Browse to ..\Configuration\WorkSpaces\Building_Examples\Standards\ProStructures\ and from one the available regional sets navigate to the \Shapes sub-folder to locate the Custom_xxx.mdb file (Metric or Imperial). In this example I am using the Custom_Metric.mdb file from the Great Britain folder.

    2. Create a copy of this file, either in the same folder or elsewhere in an appropriate location within your workspace, and rename it as desired. This will serve as a template for your custom shapes database.



    3. Open the file using Microsoft Access, double-click on the Content table, and modify the two fields in row 1 to match the new MDB file name as shown.

    4. Use the existing Round_Pipe_M table as a template for your new shapes table, using one of the following methods.

    A. Right-click on the existing Round_Pipe_M table and choose Copy, then Paste. In the "Paste Table As" dialog click on the Structure Only option and choose a name that represents the applicable shapes it will include. At this point you can delete the Round_Pipe_M table if not needed.

    B. Right-click on Round_Pipe_M and select Rename. If you choose this option, open the renamed table and deleted the existing row.

    Note: Regardless of the method chosen do not use dashes in the table names. Instead, where needed substitute with underscores; e.g., “I-Shapes” becomes “I_Shapes”.

    5. Modify the Config table to either add a new record or modify the existing record.

    A. Open the Config table, right-click and choose New Record to create a new empty row. Right-click on the first record and choose Copy, then right-click on the new row and choose Paste. This should duplicate the contents of the first row into the second row.



    Modify the contents of the second row as shown below where "Name" is the table name, "Table" is the file name.table name, and Geometry Class is the type of shape, in this case SHAPECLASS_HE for I shapes.



    B. Open the Config table and modify the contents as outlined above: "Name" is the table name, "Table" is the file name.table name, and Geometry Class is the type of shape.



    SHAPECLASS_HE = I Beams
    SHAPECLASS_LNE = Angles
    SHAPECLASS_U = Channels
    SHAPECLASS_HALF_HE = Half I Beams, half T shapes
    SHAPECLASS_ROUNDPIPE = Pipes
    SHAPECLASS_EDGEPIPE = CHS, SHS
    SHAPECLASS_FLAT = Flats
    SHAPECLASS_ROUNDSTEEL = Pipes, Tubes


    At this point your MDB database should be ready to accept shapes to be copied from the legacy XML file.

    Importing your legacy XML section data into Excel for transfer to MDB format

    1. Open the desired XML file using the Open With option and choose Excel.



    2. During the open operation choose the options "Open without apply style sheet", "Use the XML Source task pane", and accept the prompt to allow Excel to create a schema based on the XML file.

        

    3. From the XML Source dialog, drag and drop the desired shape type directly into the active spreadsheet to generate the required columns.



    Note: If the XML Source dialog is not displayed, right-click and choose XML > XML Source.



    4. Right-click over the table header, choose XML > Import and select the desired file.

          

    5. This should result in the original XML data now stored in the proper columns.



    6. Copy and paste the populated rows and columns from Excel into the new table in your MDB file, one column at a time, so that each set of data is pasted into the correct corresponding column.



    A few of the column to column mapping examples include:

    d = GEO_H
    width = GEO_B
    tw (thickness web) = GEO_TS
    tf (Thickness flange) = GEO_TG
    w = FLA_GEWICHT
    filletRadius = GEO_R

    The complete set of column mappings can be found here:

    Since the first five columns are shape names, depending on usage you may or may not choose to copy the values from the first column into columns two thru five.



    Once you’ve copied all of the data from Excel into the applicable table, your MDB file should be ready for use in OpenBuildings Designer.


    Also see:

    Configuration Changes to Support ProStructures Interoperability

    New and modified files in OpenBuildings Designer Update 7 datasets

    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2022 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies