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 Spaces - Populating the pop-down lists for Location properties
    • Sign in
    • 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
        • Ceilings - How to create a Ceiling Grid with a hole
        • How to place wall opening at some height
        • Compound Slab - How do change the layers of the compound slab?
        • Compound Slab - How to create an overhang in the compound slab?
        • Curtain Walls - Convert SmartLine to b-spline to allow placement
        • Curtain Walls - Where is the Curtain Wall tool?
        • Floor Manager - Add or remove buildings and floors
        • Forms - Changing the "Display Forms As" attribute for existing Forms
        • Forms - Where are the Forms tools?
        • How to add new structural materials to slabs
        • How to change the individual member of a Railing which is already being placed.
        • How to create a new Wall Catalog Item
        • How to modify dimensional parameters of an existing Wall
        • Missing door frame when using the Place Door tool
        • Railings - Customising with Parametric Panels
        • Roofs - Creating a Mansard Roof
        • Slab - How the old legacy Slabs can be placed using OpenBuildings Designer Update 9.
        • Spaces - Controlling the Space Artefact
        • Spaces - DataGroup Annotation Cells - Changing the Length of the Room Number
        • Spaces - Populating the pop-down lists for Location properties
        • The simplest way to create an arch top door
        • How we can place the wall on an active level in the 3D model
        • Wall - Set "Group By” as asper your requirement in ‘Place Wall’ window from xml
        • Walls - Cleaning up Column/Wall intersections
        • Walls - Compound Walls - Modifying Stacked Leaves
        • Walls - Connect/Clean Up Compound Walls, apply component priorities
        • Walls - Create with Connect Shapes as the Top Option
        • Walls - How to chamfer or fillet an edge of an OpenBuildings Wall.
        • Walls - Insulation symbology using Part centrelines
        • Modify Wall Properties or Type
        • Walls - New placement methods; By Element and Grid
        • Walls - Opening in wall remains after deleting door
        • Converting legacy Slabs to Compound Slabs
        • Simplest way to resolve the Compound Slab issue for a newly created WorkSpace
        • The simplest way to change individual part layer of a Compound Slab at once
      • +Structural Design - OpenBuildings Designer
      • +ProStructures Interoperability - OpenBuildings Designer
      • +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
      • +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

     
     Questions about this article, topic, or product? Click here. 

    Spaces - Populating the pop-down lists for Location properties

      Product(s): OpenBuildings Designer
      Version(s): CONNECT Edition
      Area: Architectural Design
      Subarea: Spaces

    You may notice in this example from Dataset NM that the only Space Location property that is populated is Floor, and also have noted that this list is not the same as the floor names in Floor Manager.

    Unfortunately for legacy reasons the values in the Floor Manager are not linked to those in the Catalog so double entry is required.

    This is actually fairly straightforward to achieve with a little editing of the Catalog XML (which in this case is quicker than editing via the Definition editor).

    Two files are involved, the XSD that defines the properties and how they appear in the UI, and an XML lookup table that populates any drop-down lists.

    Space.xsd

    Out of the box Site, Building and Department properties are empty fields. To make these into drop down lists the XSD file needs three edits changing "xs:string" (blank field for free form text entry) to "bEnumLookupType" (drop-down list that also allows free form entry, so is quite flexible, note any free form entries are stored in each users MRU list).

    e.g.:

    <xs:attribute name="Site" type="xs:string" use="optional"/>

    becomes

    <xs:attribute name="Site" type="bEnumLookupType" use="optional"/>

    If your dataset customisation strategy is to take ownership of and edit delivered content, then these edits can be made in "C:\ProgramData\Bentley\OpenBuildings CONNECT Edition\Configuration\Datasets\Dataset_<region>\DataGroupSystem\Space.xsd".

    Otherwise, make a copy of this file and put it in the WorkSet. (Note that is essential to copy the delivered Space.xsd file and edit the relevant fields in the copy. If any of the unedited fields from the original are omitted they just don’t appear in the UI as the WorkSet copy of Space.xsd is read instead of the original.)

    The complete edited section will look like this:

    <xs:element name="Location">
    <xs:complexType>
    <xs:attribute name="Site" type="bEnumLookupType" use="optional"/>
    <xs:attribute name="Building" type="bEnumLookupType" use="optional"/>
    <xs:attribute name="Department" type="bEnumLookupType" use="optional"/>
    <xs:attribute name="Floor" type="bEnumLookupType" use="optional"/>
    </xs:complexType>
    </xs:element>

    EnumLookups_Project.xm

    Unlike the XSD file, enum lookups XML files are additive, so a file can be created in the WorkSet containing project specific lists for any properties that are defined as drop down lists. Any lists defined earlier for a property will be overwritten so it is not possible to add entries to an existing list, the WorkSet must define the whole list.

    Here is an example:

     

    EnumLookups_Project.xml
    <?xml version="1.0" encoding="Windows-1252"?>
    <DataGroupSystem>
    	<Version major="1" minor="0"/>
    	<EnumLookups>
    		<EnumLookup definition="Space" property="Space/Location/@Site" extendable="true">
    			<Enum value="Commercial Road"/>
    		</EnumLookup>
    		<EnumLookup definition="Space" property="Space/Location/@Building" extendable="true">
    			<Enum value="Tower 1"/>
    			<Enum value="South Courtyard"/>
    			<Enum value="North Courtyard"/>
    		</EnumLookup>
    		<EnumLookup definition="Space" property="Space/Location/@Department" extendable="true">
    			<Enum value="Retail"/>
    			<Enum value="Student Services"/>
    			<Enum value="Robotics"/>
    			<Enum value="Library"/>
    			<Enum value="Registry"/>
    		</EnumLookup>
    		<EnumLookup definition="Space" property="Space/Location/@Floor" extendable="true">
    			<Enum value="B1 Basement"/>
    			<Enum value="B1M Basement Mezzanine"/>
    			<Enum value="00 Ground Floor"/>
    			<Enum value="01 First Floor"/>
    			<Enum value="02 Second Floor"/>
    			<Enum value="03 Third Floor"/>
    		</EnumLookup>
    	</EnumLookups>
    </DataGroupSystem>
    

    The same pop-down lists also appear in the Schedules dialog:

    • Dataset and Content
    • OpenBuildings Designer
    • spaces
    • schedules
    • Share
    • History
    • More
    • Cancel
    • Marc Thomas Created by Bentley Colleague Marc Thomas
    • When: Fri, Oct 15 2021 12:55 PM
    • Shivam Soni Last revision by Bentley Colleague Shivam Soni
    • When: Thu, Mar 31 2022 8:54 AM
    • Revisions: 3
    • Comments: 0
    Recommended
    Related
    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

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