Convert Objects

Sakari Lehtinen
Sakari Lehtinen Expert (Gold)
  • Updated

The Convert Objects tool converts objects from one object class to another, for example, building element proxies to walls.

The converted objects keep their geometry, colors, place in the model tree (containment) and the connections to other objects, for example, to their openings. They stay in the manual groups of the original objects, except type objects, which belong to one object class. The property values, including the GUID, are copied to the properties of the new object class as far as the properties match, see Use Property Name for Mapping and Property Map below.

simplebim_tool_convert_objects_settings.png

Settings

simplebim_tool_convert_objects.png

Objects

Defines the objects to convert. You can select, for example, the objects of an object class or a group. You can read more about selections in the Configuration Editor. The default value is all objects, so check this setting before you run the tool.

Excluded objects are not converted. Objects that are Not Decided Yet are converted only if no objects have been included. You can read more about these in Include/Exclude Objects.

If you want to convert only some of the objects of an object class, create a group containing the objects you want to convert, for example, with the Add or Modify Group tool, and select the group here.

If the selection does not find any objects, the tool reports an error and does not change the model.

Object Class of Converted Objects

The key or name of the target object class, i.e., the object class to which you convert. The object class must belong to the IFC version of the current model. For example, you cannot convert objects to Pavement in an IFC2x3 model, because the object class exists only in IFC4.3. If the object class is not found or it is not part of the IFC version of the model, the tool reports an error and does not change the model.

NOTE: You can get the object class from the Objects palette. Select the Object Class, right-click, and select Copy Key from the pop-up menu. Then paste the key into the tool configuration. You can also simply drag and drop the name from the Objects palette onto the setting.

Type of Converted Objects

Defines the Predefined Type and the Object Type of the converted objects. These are attributes of the objects defined by the IFC schema. The tool does not create type objects. The default value is No Type.

No Type

The Predefined Type of the converted objects is NOTDEFINED, if the object class has a Predefined Type. The Object Type is copied from the original objects like the other properties.

Predefined Type

If you were, for example, converting a building element proxy to a wall, you may want to specify that the Predefined Type of the resulting wall is STANDARD. The value is defined in the Predefined Type of Converted Objects setting.

User Defined Type

If you were, for example, converting a building element proxy to a furniture, you may want to specify that the Object Type of the resulting furniture is DRESSER. The value is defined in the User Defined Type of Converted Objects setting, and the Predefined Type is automatically set to USERDEFINED.

Predefined Type of Converted Objects

This setting is available when the Type of Converted Objects is Predefined Type.

Name of the predefined type. This must be according to the IFC schema. You need to consult the IFC schema documentation to get this right for the chosen object class.

User Defined Type of Converted Objects

This setting is available when the Type of Converted Objects is User Defined Type.

Name of the user-defined type. This can be basically anything.

Use Property Name for Mapping

The tool copies the values of all the properties that the new object class has as well. A property of the original object class is matched with a property of the new object class first by its identity key. If this setting is ON, a property that has no match by key is matched by its name. Only properties of the same type are matched: for example, a text property is not copied to a number property, and a single value is not copied to a list of values. The default value is ON.

NOTE: Providing the MAP is optional. By default, all properties that exist both on the Objects and Object Class for Converted Objects tables are copied. The MAP provides a way to override this behavior for selected properties.

NOTE: The challenge with IFC is that the property sets, defined in the IFC schema, are defined at the object class level. There is, for example, a separate common property set, Pset_WallCommon, for walls, and Pset_BuildingElementProxyCommon for building element proxies. Because of this, the mapping of the properties from one object class to another is not straightforward. The best result is achieved with the Property Map. In reality you don't even need to copy all the properties.

Property Map (optional)

The first value is the key or name of a property on the source object class, and the second value is the key or name of a property on the target object class. The values from the first property are copied to the values of the second property. The 3rd value is again a property on the source object class, the fourth value a property on the target object class, and so on. The mapped properties are copied before the other properties, so a mapping overrides the matching by key or name. Both properties must have the same type.

A pipe character ‘|’ delimited list of property identity keys or names. For example, a building element proxy doesn't have Compartmentation or Combustible properties in Pset_BuildingElementProxyCommon property set. However this is found from the Pset_WallCommon. Maybe you have the value in the building element proxy in your own properties. Then you would need to create a map.

My Compartmentation|Compartmentation|My Combustible|Combustible

NOTE: The property must exist in the Object Class of Converted Objects. The tool does not create it for you. If you need to add the properties, then use the Add Property tool.

Create Group

Defines whether to create a group for the converted objects. Creating a group for the converted objects is a convenient way to check them after the processing. And it is also a good practice in dataflows. You can use the group in the following steps to target your operations. The default value is OFF.

Group Category

This setting is available when Create Group is ON.

Defines the group category of the group. You can use the name or the key of the category. If the category is not found in the model, the group is created in the Generic Group category. The default value is Generic Group.

Group Name

This setting is available when Create Group is ON.

Defines the name of the group for converted objects. The default value is Converted Objects.

Release Notes

Simplebim 12.0 SR1

  • New Group Category setting for the group that Create Group creates.

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.