Rename Property

Jiri Hietanen
Jiri Hietanen
  • Updated

The Rename Property tool renames a property for one or more object classes. You can rename the property in Simplebim, in IFC, or in both. The values of the property stay as they are.

For example, you can correct a misspelled property name, or give a property the name that the receiving application expects in the IFC file. Only the object classes in the Object Class(es) setting are changed. If other object classes have the same property, they keep the original name, both in Simplebim and in IFC.

There are also other ways to change properties:

  • To copy the values to a new property with another name, use the Copy Property Values tool. You can then exclude the original property with the Include/Exclude Properties tool, so that it is not exported to IFC.
  • To give the property set and quantity set properties of one object class to other object classes, use the Clone Property Set Properties tool.

Names in Simplebim and in IFC

A property can have a different name in Simplebim and in IFC. The name in Simplebim is the name you see in Simplebim, for example in the Properties palette. The name in IFC is the name that the IFC export writes into the property set or quantity set.

Only property set and quantity set properties have a name in IFC. These are the properties that come from the property sets and quantity sets of an IFC model, and the properties that you create with the Add Property tool. Other properties can be renamed in Simplebim only.

Keys after the rename

When you rename a property in IFC, the property gets the key that it would have if the IFC model had the new name. Later steps of a dataflow that refer to the property by its original key no longer find it in the renamed object classes. Use the name or the new key of the property in these steps.

If another object class already has a property with the new name in the same property set or quantity set, the renamed property gets the same key as that property. If that property is written with different upper and lower case letters, the IFC export uses its spelling, and the tool reports a warning.

When you rename a property in Simplebim only, the property is still found by its original key, and the IFC export writes the original name.

After the run

Object classes in Object Class(es) that do not have the property are skipped without a warning. If none of them has the property, the tool reports a warning.

When the tool cannot rename the property for an object class, it skips that object class and reports a warning that tells the reason. The reasons are described with the settings below.

Running the tool again with the same settings does not change anything.

Settings

Object Class(es)

Defines the object classes for which the property is renamed. The default value is All.

The special option All renames the property in all the object classes that have it, including the spatial containers (project, site, building, and building storey). To target the operation more precisely, choose one object class or many from a list.

The property is renamed for the whole object class, so the include/exclude status of the objects does not matter.

If the setting is empty, the tool reports an error and does not change the model. If the selection does not find any object classes, the tool reports a warning and does not change the model.

Property Name

Defines the property to rename. Use the name or the key of the property. This setting is mandatory: if it is empty, the tool reports an error and does not change the model.

The name is not case-sensitive, and spaces before and after it are ignored. The tool first looks for a property with this key, and if there is none, for a property with this name.

If an object class has several properties with this name, for example in different property sets, the tool reports a warning and does not rename the property for that object class. Use the key of the property in this case. You can copy the key in the Properties palette with Copy Special > Copy Key (Ctrl+K).

You can also drag a property from the Properties palette and drop it onto the box.

Rename In

Defines where the property is renamed. The default value is Simplebim and IFC.

Simplebim and IFC

Rename the property both in Simplebim and in IFC. This is possible only for property set and quantity set properties. For other properties, the tool reports a warning and does not rename them. If the property already has the new name in IFC, only the name in Simplebim changes.

Simplebim Only

Rename the property only in Simplebim. This is possible for all properties. The IFC export writes the original name.

IFC Only

Rename the property only in IFC. This is possible only for property set and quantity set properties. For other properties, the tool reports a warning and does not rename them. Simplebim keeps showing the original name, and the IFC export writes the new name.

If the setting has a value that is not one of these choices, the tool reports an error and does not change the model.

New Name

Defines the new name of the property. This setting is mandatory: if it is empty, the tool reports an error and does not change the model. Spaces before and after the name are ignored.

The new name must be free in the object class. Otherwise, the tool reports a warning and does not rename the property for that object class:

  • With Simplebim and IFC and with Simplebim Only, no other property of the object class can have the new name in Simplebim. Upper and lower case letters are not told apart here, so Fire class and Fire Class are the same name.
  • With Simplebim and IFC and with IFC Only, the property set or quantity set of the property cannot already have a property with the new name in the object class.

The key of a property does not tell upper and lower case letters apart. Because of this, a new name that differs from the name in IFC only in upper and lower case letters, for example FIRERATING instead of FireRating, cannot be used in IFC. With Simplebim and IFC and with IFC Only, the tool reports a warning and does not rename the property. To change only the upper and lower case letters of the name in Simplebim, use Simplebim Only.

Release Notes

This tool was added in Simplebim 12.0 SR2

Was this article helpful?

1 out of 1 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.