Assemblies

An assembly is a parametric method of generating BOQ items after specifying various criteria. An Assembly requires 2 kinds of input. The Input Argument which is what the user sees and can interact with and the BOQ Generation Items which is the routine running in the background to produce the BOQ items based on the selections defined in Input Arguments.

In the following image you see an example from an assembly which contains Selection Lists, Checkboxes, Images, Calculated values, Decimal Fields, Quantity Take-Off input arguments. All Input Arguments are displayed in a window which is called Assembly Interview Visualizer. Finally, the input arguments can be grouped into specific categories like the following image shows.

Assembly Interwiew Visualizer

The composition of many Input Arguments will finally make up a scenario. Different selections for each Input Argument means different scenarios.

By making up different scenarios then different calculations and matches with the database happen in the background. E.g., if you select CAT 301.4C as excavator, then the assembly will search in the database for that type of equipment. Making a different selection, the system will search for the other selected type of equipment. Anything you change in the Input Arguments will affect what the assembly will eventually produce, in terms of quantities, productivities, total costs and resources.

The following image shows how an input argument can be modified before being visualized.

Input Argument Modification Window

• Variable Name: User must give a name for the Input Argument. We cannot use special characters (e.g., *, &, %), spaces or starting with a numeric digit.

• Label: User gives the name which will be visible in assembly visualizer. Here we have more freedom, and we can type without any limitation. If the user doesn’t type anything, then CostOS gives the same name as in the Variable field.

• Data type: User defines the type of input arguments through a list with the following selections.

  1. Decimal Field
  2. Date
  3. Integer Field
  4. Country
  5. Text Field
  6. Location Factor
  7. Formula Field
  8. Image
  9. Selection List
  10. Notes
  11. Check Box
  12. Quantity Take Off - Manual
  13. Array
  14. Calculated Value
  15. Calculated Array
  16. Design Model (BIM)
  17. Calculated Selection List
  18. SVG Parametric Drawing

• Grouping: User defines under which group the input argument will be placed. E.g.,

Input Argunents Grouping

• Sort order: User here defines the order of displaying the input argument. We can increase or decrease that number, so we move the input argument up and down in the assembly visualizer.

• Default Value: We define here the default value we want to see when the assembly runs for the first time. If the Data Type is a selection list, then the default value must be one value from the values defined as selections.

• Description: User here writes the text which is displayed next to input argument in the assembly visualizer and can be used as explanations or showing the unit of measurement if the data type is Decimal or Calculated Value.

Description of Input Argument

• Comment: User can add here an extra description for the input argument that can be used as explanation of the argument or anything else.

Comments

• Dependency Condition: User can control from here when the input argument must be visible depending on the selections and criteria specified in previous input arguments. The language used here is like excel language with the only difference that you select Variable names instead of cell references.

Data Validation

• Selection List / Value Calculation / Validation Calculation: If the data type is a selection list, then the user specifies the selections here. Each line is a different selection from the dropdown menu.

If the data type is a calculated value, then user types here the formula which will return the value.

If the data type is a decimal or text field, user here defines the condition under which the typed value will be acceptable. E.g., if the input argument name is AverageTruckSpeed and the validation condition says AverageTruckSpeed>20, then any number less than 20 won’t be acceptable and assembly will return an error.

Although the composition of the required Input Arguments is the first step for designing an assembly, no BOQ items are generated if we don’t define the BOQ Generation Items. Every single BOQ Generation Item signals the generation of a different BOQ item (or group of Items). Each of those BOQ items will be linked with resources coming from Master or Project resource database. The link with Conceptual resources is also feasible.

Into the BOQ Generation Item window users define the Quantity, the Productivity and the Resources which will be linked with the BOQ item(s). There is also a field which defines the condition under which the BOQ item will be generated. Each of those fields can be connected to the Input Arguments. So, if we want to parametrize the Quantity of a BOQ item we just type the name of the Input Argument into the Quantity field.

Quantity Field

In the following image you see a BOQ generation Item window with numbers which are explained below.

BOQ Generation Item Window

1) User writes the name of the BOQ Generation Item. We usually give a short description of the BOQ item which is going to be generated via this BOQ Generation Item. 2) All available Input Arguments. 3) Here the user specifies the Generated Resources which are linked with the BOQ Generation Item. We can define more than one Generated Resources. 4) Quantity can be either a fixed number or the value coming from an Input Argument. Just type the name of Input Argument or drag it from 2 and drop it here. 5) Productivity is applied to labor resources and equipment. The default value of it is PRODUCTIVITY, but if the Generated Resources are labor/equipment then we must fill in with a value here. That value can be either a fixed number or an Input Argument. In the previous image example, as you can see, there is an IF statement which is also applicable in any fields here. 6) Use the Generation Condition to determine under which condition you want to produce this BOQ item. 7) By default, all factors are 1. Change the default values here and see the new updated values in Factor 2, and location factor column in the assignment panel of the BOQ table.   The following image shows the content of a Master database Generated Resource (3).

3.A) User gives a title to the new Generated Resource. This is not the name which will appear in BOQ table or anywhere else beyond the BOQ Generation Item.

3.B) User chooses the library where the resource will come from. In other words, we tell the system in which library to search to find the resource which fulfills the Query Conditions.

3.C) We define here the Query Conditions which must fulfilled to select the proper resources from the selected library. The columns Column, Comparison and Type are dropdown menus that assist the user to determine the desired condition. The column Type works after we create a second condition.

3.D) In the Condition Editor we type in the Title of the resource or any other value which can be linked with the Query Condition above. That value can be either a Text written by the user, or a text value coming directly from the library selected or an input argument.

3.E) We can create as many Query Conditions as needed by clicking on the Plus icon. The Condition can also be chained by using the AND/OR logic functions.

3.F) We define here how the system will sort the resources.

3.G) If we want to link the generated resource with any input argument we do it here. Just type the name of the input argument.

3.H) The Column Overrides can be used if we want to send a variable in a column of the generated resource. For example, we can send a formula in the variable column of a resource to override the default value. E.g., if the default value is 1000 and we want to change it with a formula based on an input argument, we write the formula here.

Exercise: Creating a New Assembly for Excavation Works

The following example uses predefined resources from Master database, so before you start reproducing the steps below, please make sure that you have uploaded the required resources from ExcavationExampleEquipmentResources.xml and the equipment images, too.

  1. Go to Assembly library.
  2. Create a new blank Assembly.
  3. Select Input Arguments.
  4. Click the +Add button to create the first Input Argument.

The Input Arguments that we will need are tabulated in the following table:

Running the Assembly in a Project

Assemblies can either be used for generating BOQ items in the BOQ table or for assigning resources to the BOQ items.

The assembly of the previous exercise is for assigning resources. So, we need to follow the next steps to see how it works: 1. Open a project (or create a new one). 2. Find or create a new BOQ item related to Excavation activity. 3. Select the BOQ item. 4. Right click on it and select Assign ResourcesAssign Resources from Master Database 5. Assign Assemblies 6. Select the assembly we created in previous exercise and click Explode Resources 7. Change the values in Input Arguments as you want. 8. Assign to BOQ Item(s) 9. Close

Modifying the Assembly

To modify the assigned assembly, follow these steps:

  1. Select the BOQ item.
  2. Go to the Assemblies tab.
  3. Double-click on the assembly or click the Edit button.
  4. Change values of the Input Arguments as needed.
  5. Modify Assemblies
  6. Confirm

Dynamic Assembly Title

To make the Assembly Title dynamic, follow these steps:

  1. Right-click on the assembly and select Edit.
  2. Select Title formula and use Excel language to concatenate static texts with values from Input Arguments.
  3. Update and Close.

Producing BOQ Items through an Assembly

To produce BOQ items through an Assembly, follow these steps:

  1. Open a project.
  2. Go to Estimate > Add Assemblies.
  3. Select the Assembly.
  4. Add Items.
  5. Modify Input Arguments.
  6. Add to BOQ Table.
  7. Close.

Making an Assembly Smart

To make an assembly smart so it appears with its icon when you click Add Assemblies (Quick Selection):

  1. Go to Assembly library.
  2. Select the assembly and Edit.
  3. Change its Usage to Smart (Parametric) Assembly.
  4. Update and Close.

Go back to the project and from the Estimate menu select Add Assemblies.

You will see the assembly listed there.

Sending a Variable in a Column of a BOQ Generation Item

To send a Variable in a column of a BOQ Generation item, follow these steps:

  1. Go to the assembly and select the BOQ Generation Item.
  2. Double click to modify it.
  3. Double click on the Generated Resource.
  4. Expand the BOQ Item Column overrides.
  5. Find the column you want to send variable.
  6. Type as follows: =CONCATENATE("VAR(","""name of variable""",")").
  7. Update.
Column 1 Column 2 Column 3 Column 4 Column 5 Column 6
Item 1 Item 2 Item 3 Item 4 Item 5 Item 6
Item 7 Item 8 Item 9 Item 10 Item 11 Item 12
Item 13 Item 14 Item 15 Item 16 Item 17 Item 18