Variables

KC: Juni 2018
← Bomlink | General overview BomLink




Define variables to be used in rules based on type, from plugin sources or user defined.  There are three types of variables
To call a particular variable in a rule, use v.variablename.  For more information see BomLink Appendix for more information

Variables - definition

(Back to top)

Definitions allows you to define a variable based on a specific type in the model content.
 

Variables - sources

(Back to top)

Sources allow for additional plugins to be added to BomLink for use as variables.  
An example of a source variable is Roof Edge variable.  
This provides a list of variables to analyse each edge of a roof plane.

Variables - user defined

(Back to top)

User defined is a variable based on the input of the designer. 
This provides the user an oppuortunity to add values execution of the output in BomLink output when changing those variables. 
The variables can be a Boolean, Numeric or String. 
Each time running the BomLink preview or output, you will have access to the list user defined variables.


Create a variable type Boolean

(Back to top)
  • Select Boolean in the Field level.
  • Enter a name in Field
  • Click on Add
  • Adjust the Value. The default value will be the Value shown in this configuration.

Create a variable type Numeric

(Back to top)
  • Select Numeric in the Field level.
  • Enter a name in Field.
  • Click on Add.
  • Enter a value. The default value will be the value shown in this configuration.

Create a variable type String

(Back to top)
  • Select String in the Field level.
  • Enter a name in Field.
  • Click on Add.
  • Enter a value. The default value will be the value shown in this configuration.

Create a variable type String with dropdown selection

(Back to top)
  • Select String in the Field level.
  • Enter a name in Field.
  • Click on Add.
  • Enter the values seperated with a semi-colon. The default value will be the value between square brackets, meaning the value that appears in the user defined dialog box.
  • e.g. HD3B ; HD5B ; [HD7B] ; HD9B

Example of a variable in an expression<

(Back to top)
  • M.Type='OutsideCorner' and v.Antraciet=false

  • if(v.WallWithFoil=true,1,0) 

Example of the BomLink User defined Variables

(Back to top)

When launching the BomLink within hsbcad, the user defined variable list will appear. 
The values inoutted in this list, will have an influence on the BomLink rules, where those variables have been used.

 

Feedback and Knowledge Base