Support site for Simplebim® users
In This Topic
    Define Locations
    In This Topic

    In construction everything happens in a location and this is why it is very useful to have location information in your models. A location is about the physical location of an object and the location itself can be described by a 3D prism. If we for example have a 3D prism that represents 'Section A', then the location of all objects inside that 3D prism is 'Section A'. Simple.

     

    A single model may have multiple 'location systems', for example...

    Each object can be located in only one location within a given location system, but it can of course be located in several location systems. A wall can for example be located both in 'Section A' and '1st Floor', but not on '1st Floor' and '2nd Floor'. Simplebim supports up to 10 simultaneous location systems.

    Defining locations in Simplebim involves these 3 steps.

    1. Defining the locations: location prisms and location properties
    2. Resolving the location of objects
    3. Using the location information
    You can test the instructions in this article with the Getting Started model that is installed with Simplebim into the Getting Started sub-folder of the Simplebim installation folder. The same folder contains also two location prisms models, one with final location prisms and another with location prism footprints. Our web site at https://simplebim.com/learn/ also has several tutorial videos that show you how to create and manipulate location prisms.

    Defining locations

    Defining locations starts by opening the Location Editor workspace and enabling the Location Tools.

    In order to define locations you must have 3D location prisms. The location prisms are 3D objects that can have any shape, i.e. they are not limited to 'shoe boxes'. There are multiple ways in which you can get location prisms into your model

     

    You can also modify, copy and move already existing location prisms.

    Once you have your location prisms, you need to set the location property. When you initialize the Location Tools in Simplebim the properties 'Location 0' to 'Location 9' are added to all objects. You need to decide how you use these location properties, which essentially each represents one location system. You can for example decide that 'Location 0' means section and 'Location 1' means building storey. For your location prisms describing 'Section A' you would then set the value of the 'Location 0' property to 'Section A'.

    Resolving locations

    When the locations are resolved Simplebim scans the location prisms and finds the objects that are inside each prism. It then copies the location properties from the prism to the objects inside the prism. When Simplebim for example finds that a wall is inside the location prism describing a section, it copies (in our example) the value of 'Location 0' of the prism to 'Location  0' of the wall. Thus the 'Location 0' property of our wall will get the value 'Section A', which tells us that this wall is located in section A.

    You can use two modes when resolving locations

    Using location information

    Once you have resolved the locations you have the location information in the properties 'Location 0' to 'Location 9'. This is probably not what you want.

    The most typical case is to copy the values from those properties into your own properties. Let's say you have your own property set with a property called 'Section' and after splitting you have your section information in 'Location 0'. In this case you would simply copy the values from 'Location 0' to 'Section'.

    A special case is to convert the building storey location information into the IFC containment structure. For this you need to take the following steps in the Containment palette

    1. Drag&drop all objects that belong to a building on top of that building in the Containment palette. This will change the containment such that all objects are contained directly by that building.
    2. Select the building. This will select all objects in the building in the Properties palette
    3. Expand the location property you used for building storeys, for example 'Location 1'
    4. Drag&drop each value one by one on top of the corresponding building storey in the Containment palette.

    Automatig locations

    Using location prisms for defining locations can also be automated using Simplebim scripts. A simple script for defining locations would look something like this.

    Import=MyModel.ifc
    Merge=MyPrisms.ifc|MERGE_TYPE=READLOCATIONPRISMS
    Run=Split Geometries
    Export=MyModelWithLocations.ifc
    Close