Group Trim Name

Gio Siradze
Gio Siradze
  • Updated

This page may include version-specific information that is no longer current.

The warning is added automatically and may appear on pages containing version-neutral or up-to-date information.

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 trimming the name of groups. This tool is useful when you want to trim for example an unwanted prefix from the name of type objects (which are groups in Simplebim)

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.

Key Type Value Description
TARGET Choice   Defines 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.
    ALL Default. All groups.
    GROUP Groups mapped to IfcGroup.
    ASSET Groups mapped to IfcAsset.
    INVENTORY Groups mapped to IfcInventory.
    SYSTEM Groups mapped to IfcSystem.
    BUILDINGSYSTEM Groups mapped to IfcBuildingSystem.
    DISTRIBUTIONSYSTEM Groups mapped to IfcDistributionSystem.
    DISTRIBUTIONCIRCUIT Groups mapped to IfcDistributionCircuit.
    ZONE Groups mapped to IfcZone.
    <Object Class> This option is used for deleting type objects. For example the value WALL sets the target to types of IfcWall.

NOTE: It is possible to delete also type objects with this tool because internally type objects are handled as groups in Simplebim.
REGEX Text The regular expression that selects the part of the group name that you want to trim (remove). Examples
– ‘ABC’ removes ‘ABC’ from anywhere within the name of the group

– ‘^ABC’ removes ‘ABC’ from the beginning of the name of the group

– ‘ABC$’ removes ‘ABC’ from the end of the name of the group

– ‘^(ABC)d{1,3}$’ removes ‘ABC’ from the beginning of the name of the group, but only if ‘ABC’ is followed by 1-3 digits after which there are no more characters in the name.

Related to

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.