Calculate or Aggregate Properties for Connected Objects

Sakari Lehtinen
Sakari Lehtinen Expert (Gold)
  • Updated

Calculates and aggregates new properties for building element objects that are connected together. The connection can be created, for example, with the Find Proximity Objects tool. The formula can use constants, building elements’ own properties, or even properties from the connected objects.

Settings

There are four different tools for calculating and aggregating properties. They all share common settings, which you can find in the Calculate Properties for Objects tool's documentation.

Calculate or Aggregate Properties for Connected Objects also shares the Aggregation Type, Count Empty Values and Concatenate String Separator settings with the Aggregate Properties for Groups tool. From this documentation, you can also find some helpful examples of how to use formulas for aggregation.

Here are the settings specific to the Calculate or Aggregate Properties for Connected Objects tool.

simplebim_tools_aggregate_properties_connected_objects_settings.png

Target

Defines the objects whose connections the tool follows. With the Calculation Type Calculate Properties for Connected Objects, the values are calculated for the objects connected to the objects in the Target. With Aggregate Properties to Objects, the objects in the Target get the values aggregated from their connected objects.

Calculation Type

There are two options here. The default value is Calculate Properties for Connected Objects.

Calculate Properties for Connected Objects

Calculate Properties for Connected Objects sets the values to the building elements referenced by the Connecting Property. The formula is calculated for each connected object, and the properties of the object in the Target are available in the formula with the Parent| prefix, for example [Parent|Name].

Aggregate Properties to Objects

Use this option to aggregate values to the object from the connected objects. The formula is calculated for each connected object, and the results are aggregated to the object in the Target with the Aggregation Type.

Connecting Property

Defines the connection (reference) property that the tool follows from the objects in the Target to their connected objects. It is used with both calculation types. If you use, for example, the Find Proximity Objects tool for creating the connection, then the Connecting Property should match the name you used for the Connection Property in the Proximity tool. The default value is My Connection.

Aggregation Type

This setting is available when the Calculation Type is Aggregate Properties to Objects. In addition to the aggregation types described in the Aggregate Properties for Groups article, this tool also has the Has Objects option. Has Objects calculates a Yes/No (boolean) value to the object based on the formula. If one or more objects referenced by the Connecting Property meet the requirement set by the formula, then this operation returns Yes (true). An empty formula checks if the connection references any building elements.

Count Empty Values

This setting is available when the Calculation Type is Aggregate Properties to Objects. It is described in the Aggregate Properties for Groups article.

Concatenate String Separator

This setting is available when the Calculation Type is Aggregate Properties to Objects and the Aggregation Type is Concatenate String. It is described in the Aggregate Properties for Groups article.

Create if Missing

This setting and the PropertySet Name, Result Property, Result Unit and Force Data Type settings under it are described in the Calculate Properties for Objects article.

Release Notes

Simplebim 12.0 SR1

  • New Create if Missing setting, shared by all four Calculate Properties tools.
  • The Objects setting was renamed to Target.

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.