Jump to content

Group Merge

This tool is part of Simplebim Prototypes addon. In order to use the tool, you need to download and install the addon from here.

Tool for merging several groups with a similar name into a new group. Creates a new group with a given name, copies all objects from all groups where the name matches a given pattern and finally deletes the original groups from which the objects were copied.

The new group is of the same type as the groups from which the objects were copied. For example when objects are copied from Zone -groups the new group will also be a Zone. If there is a mismatch in the group type, for example you try merge Zones and Systems the operation will fail and no new group is created and no existing groups are deleted.

Because type objects, like wall types, are internally groups in Simplebim this tool can also be used for merging type objects.

Configuration Options

Because this tool needs to be configured it can only beĀ run from a template. This tool is not visible in the Tools drop-down menu of the ribbon.

KeyTypeValueDescription
TARGETChoiceDefines the target of the operation, i.e. the groups that might be deleted by the tool. For example TARGET=ZONE specifies that only groups mapped to IfcZone may be deleted.
ALLDefault. All groups.
GROUPGroups mapped to IfcGroup.
ASSETGroups mapped to IfcAsset.
INVENTORYGroups mapped to IfcInventory.
SYSTEMGroups mapped to IfcSystem.
BUILDINGSYSTEMGroups mapped to IfcBuildingSystem.
DISTRIBUTIONSYSTEMGroups mapped to IfcDistributionSystem.
DISTRIBUTIONCIRCUITGroups mapped to IfcDistributionCircuit.
ZONEGroups mapped to IfcZone.
<Object Class>This option is used for merging type objects. For example the value WALL sets the target to types of IfcWall.

NOTE: It is possible to merge also type objects with this tool because internally type objects are handled as groups in Simplebim.
NAMETextAny textThe name of the new group
PATTERNTextThe pattern the name of the target group must match to be mergedThe value may contain the wild cards * and ?.

Examples                   
– ‘ABC*’ merges all groups where the name starts with ‘ABC’

– ‘*ABC’ merges all groups where the name ends with ‘ABC’

– ‘A*C’ merges all groups where the name starts with A followed by any number of characters ending with B.

– ‘A???C’ merges all groups where the name starts with A followed by any 3 characters and ends with B.