Defining the Input Arguments
To define a New Input Argument click on the Add New Button.
The Add Input Argument dialog opens:
Variable Name¶
Specify the Name of the Input Variable. No spaces or special characters are allowed. This can be the same name as other variables you are using for other functions (e.g. radius, height etc)
Data Type¶
Specify the Type of Input that you expect from the user to give. This can be:
- Decimal: A decimal number such as: 25.03
- Integer: An integer number such as: 7
- Selection List: This is an Selection of an Item of a list which you specify at the lower part of the window
- Checkbox: This is just a True/False value
- Country Selection List: This is a Selection of a Country from a list that contains all the countries of the world
- Image: This just loads an image (no user input) and it has the purpose to display shapes while the user uses the function for quantity takeoff
- Quantity Takeoff: This allows the user either to input a decimal number or to launch all takeoff options (BIM, GIS, On-Screen Takeoff etc) make measurement and transfer the result of these measurements to this input field. This argument requires from the user to specify the unit of measurement on which the takeoff results will be transferred.
- Date: This is a Date field
- Calculated Field: This requests no user input. It just returns the result of a calculation and it is useful for showing to the user what he would anticipate from the function while using it for quantity takeoff. It can be used also for performing checks.
Grouping¶
If your function is going to be used for quantity takeoff within the BOQ Table and you have many input variables then you should group them accordingly. The qroups are displayed in alphabetical order within the function takeoff form. Just type the name of a new group, or the exact name of a previous group you have used for grouping the other variables you specified before.
Order¶
Next to the grouping you can see a drop down list with numbers. This is for defining the order where the input variable will appear on the takeoff function.
Default Value¶
Type the default value of the input argument. This will be set as default while running the function or using it on an assembly. If it is a True/False argument then type true or other ways leave it blank for false.
Default Country Code¶
Type the default ISO Country Code that will be set as default on the Country Selection Selection list. Type GB for Great Britain, US for USA, DE for Germany, etc
Image URL/Path¶
If you have selected an image as the type of the argument, then you need to specify where the image is located. Click on the "Select" button and locate your image
Dependency Condition¶
If you want the Input Argument to appear if something else happens before, then you need to define a dependency condition. For example: You may have assigned a selection list that describes the shape of a tank. Thus the variable Shape_of_Tank is a selection list of the following:
Rectangular
Cylinder
Then the variable which is named Radius will only need to appear if the user selects a Cylinder Tank. In this case the dependency condition for the Radius should state:
Shape_of_Tank = "Cylinder"
Validation¶
This is used to define Validation Statements for the input argument. The name of the variable must be stated in this field, for example:
radius > 0
or
AND(radius > 0, radius < 100)
Value Calculation¶
This is displayed only if the data type is "Calculated Value". You can type the equation of the calculated value on this field, e.g.:
TankVolume = pi() * radius * radius * height
This result may be displayed on the takeoff function, or used in other equations of the function.



