Jump to content

Object Selection Syntax

Overview

Many operations in Simplebim require one or more object selections, for example colorizing objects or finding the clashes between two sets of objects. The selection can be all objects of one or more object classes, a group of objects or a special selection, like all building elements.

The selection syntax in Simplebim is close to the search syntax used for example in Microsoft Outlook. It consists of one or more tokens with values. The token-value pairs are separated from each other with a space. A token is separated from its value with a colon. If the value is a list, the items in the list are separated by a comma. If the value contains a space, comma or colon it must be wrapped in double quotes. All tokens and values are case insensitive and whitespace before and after is ignored.

class-name:wall

class-name:wall,"curtain wall"

category-name:"IFC System" group-name:"Exhaust air"

However, in most cases you don’t have to know the syntax because you can define the selection from the Simplebim user interface.

Selection user interface

Selection Syntax

SyntaxDefinition
special:all
s:all
All non-spatial elements. For assemblies selected both the assembly and its parts.
special:topmost
s:topmost
All non-spatial elements that are either topmost assemblies or not part of any assembly.
special:parts
s:parts
All non-spatial elements that are either parts of assemblies (including assemblies that are part of another assembly) or are not part of any assembly.
wall
auto:wall
a:wall
Automatically detect the type using the following resolution order
– Object class key
– Object class name
– Object group name (all group categories)
class-name:wall 
cn:wall
class-name:wall,"curtain wall"
All objects in one or more object classes matched by name
class-key:DC:WALL 
ck:DC:WALL
 
All objects in one or more object classes matched by key
group-name:"exhaust air" 
gn:"exhaust air"
All objects in an object group matched by name
group-guid:<guid> 
gg:<guid>
All objects in an object group matched by globally unique ID
category-name:"IFC System" 
gcn:"IFC System"
All objects in all object groups in a group category matched by name. This syntax can also be use for selecting all object groups in a group category.
category-key:IFC:GROUPS:SYSTEM 
gck:IFC:GROUPS:SYSTEM 
All objects in all object groups in a group category matched by key. This syntax can also be use for selecting all object groups in a group category.