Copy Property Values
In this section you can copy text property values from one property to another. Using regular expression you can also copy only a part of the original value.
Field | Type | Value | Description |
---|---|---|---|
Object or Group [+] | Text | Name or identity key | The name or identity key of the Object Class or Group |
From Property | Text | Name or identity key | The name or identity key of the property from which you want to copy the values |
To Property | Text | Name or identity key | The name or identity key of the property into which you want to copy the values |
Copy Empty Values | Yes/No | Yes/No | Should empty values be copied? Use No if you want to merge the values of the two properties. |
Overwrite Non Empty Values | Yes/No | Yes/No | If the ‘To Property’ already has a value, should that value be overwritten by the value of the ‘From Property’? Use No if you merge the values of the two properties and want to give priority to the values in the To Property. |
Regular Expression | Text | Reqular expression | You can optionally use regular expressions for modifying the property value that is being copied. Only the part of the original value that is selected by the specified regular expression will be copied. |
You can easily ‘Merge Copy‘ values from several properties with the same name into a new property. When you specify a name (not key) as the ‘From Property’, the system scans all properties with that name and tries to copy values from all of them. When using Merge Copy you need to set ‘Overwrite Non Empty Values’ to ‘No’, otherwise the actual values may be overwritten with an empty value.
If the ‘From Property’ and ‘To Property’ have the same name, for example you are copying values from one property set to another and both property sets have the same property names, you must use a Key as the ‘To Property’ to specify the target explicitly. In this scenario the ‘From Property’ can be either a Name or a Key. The system will automatically filter out the ‘To Property’ from the list of possible ‘From Properties’, which means that the ‘To Property’ and ‘From Property’ will never be the same.
Copy values from related objects
The From Property can also be from another object or group, like a the space containing the object or the system the object belongs to.
The syntax is: [Reference].Property
For example [Space].Space Name
The example above copies the value of the Space Name property from the space containing the object.
The notations are case insensitive and whitespace is ignored also within the text, for example ‘building storey’ is the same as ‘BUILDINGSTOREY’. For groups the property Name is the name of the group, for example [System].Name copies the name of the system. If an object belongs to multiple groups within the same category, e.g. an object belongs to multiple systems, then the first group found is used.
The notations in the following table are supported.
Notation | Description |
---|---|
[Container] | The container of the object regardless of object class |
[Space] | The space containing the object |
[Building Storey] | The building storey containing the object |
[Building] | The building containing the object |
[Site] | The site containing the object |
[Project] | The project containing the object |
[Element Assembly] | The element assembly containing the object |
[Main Element Assembly] | The main / top-most element assembly containing the object. This notation is useful if your model contains nested element assemblies, i.e. assemblies that contain other assemblies. |
[Curtain Wall] | The curtain wall containing the object |
[Stair] | The stair containing the object |
[Roof] | The roof containing the object |
[Model] | The model the object is part of |
[Asset] | The asset (group) the object belongs to |
[Building System] | The building system (group) the object belongs to |
[Distribution Circuit] | The building system (group) the object belongs to |
[Distribution System] | The distribution system (group) the object belongs to |
[Group] | The IFC group the object belongs to |
[Inventory] | The inventory (group) the object belongs to |
[System] | The system (group) the object belongs to |
[Zone] | The zone (group) the object belongs to |
[Group|Group Category] | The group from a custom group category the object belongs to. For example the notation [Group|DC:GROUPS:ERRORS] copies from the error groups that are created by various tools. |
[Classification|Classification System] | The classification notation from the specified classification system. For example the notation [Classification|Uniformat] copies from the classification notation assigned to the object from the Uniformat classification system |
[Reference Property] | Any reference found on the object can be used. For example the notation [DC:CONTAINEDBY] uses the Contained By property and copies from the container of the object |
[Reference Property|Object Class] | Same as Reference Property above, but follows the reference until an object from the specified object class is found. For example the notation [DC:CONTAINEDBY|DC:SPACE] copies from the space containing the object |