BomLink Appendix*

KC: Juni 2018
← Bomlink | General overview BomLink
← Bomlink | Variables


Abbreviation listing.

Variable

(Back to top)

Syntax: v.variablename

Example: if(V.Perimeter_External_Opening >0, V.Perimeter_External_Opening/1000,0) + if(V.modelLength>0, V.modelLength,0)

To access all type of variables created in the Definitions, Sources and the User Defined.

Model

(Back to top)

Syntax: m.modeltype
 
Example: m.Type = 'Header' and Eq(m.Width, 44, 0.1) and m.Height <= 219
 
To access all model information based on the group type, sheeting, beams, roofs, etc
Such as : SolidLength, Width, Height, Material, Name, Grade, Label, Sublabel, Beamcode, etc...

Project

(Back to top)

Syntax: p.projecttypesetting
 
Example: p.DrawingProperties
 
To access all hsbcad Project-settings information.
Such as : Name, Number, Street, DwgPath, ComputerName, etc....

Inventory

(Back to top)

Syntax : i.inventoryitem
 
Example:  if(m.Height = '12.5',i.Code='GYP-EGL-FR-12.5',i.code='GYP-EGL-FR-2.7-15')
To access all the items in the inventory list.
Such as : Code Field, Description Field, UOM Field, or other inventory columnheader.


Used functions

The functions will only show if they can be used in the group type.

To access the list : Ctrl+space, those functions can be used in the Filtering, Mapping, Quantity, Output.
StartWith
Indicates that a string starts with another string.
StartsWith(searhgIn, searchFor)
example
StartsWith(m.Name,'Elephant')
Contains
Indicates that a string contains another string.
Contains(searchIn, searchFor)
Contains(m.Material,'Pin')
Eq
Tolerance equals. Returns true or false. Eq(a, b, t) Eq(a, b)
a is compared against b, with tolerance c. If the tolerance is not specified, 0.001 is used.
Eq(m.SolidWidth, 38, 0.001)
IsNull
Tests for null in a value> Returns true or false.
Is Null(property)
IsNull(m.ExtrProf)
Concatenate or C
Concatenates strings.
C('One','Two','Three')
Section
Creates a Section for beam section comparison.
In the beam context the beam’s Section property can be tested.
m.Section=Section(56,32)
Map
Returns values from the Map of GenBeam or TSL.
Map(mapkey, defaultvalue)
Note: The default value is returned if the map key does not exist.
Map('MyMap.SubMap.Key',23)
MapX
Returns values from the MapX data of any entity.
MapX(mapkey, defaultvalue)
Note: The default value is returned if the mapx key does not exist.
MapX('MyMap.SubMap.Key',23)
PropertySet
Returns values from the Property sets of any entity.
PropertySet(propertyset key, defaultvalue)
Note: The default value is returned if the propertyset key does not exist.
PropertySet('MyMap.SubMap.Key',23)
Alias or A
Returns the alias value.
If the aliasSetName is not specified, the default Alias Set is used
Alias(m.Number,'WallType')='ExternalWall'
HasPropertySet
Indicates whether the specified property set path exists.
HasPropertySet('MyPropertySet.Length')
Mathematical Expressions
in
Returns whether an element is in a set of values.
in(m.Code,'AB','AD','CC')
if
Returns a value based on a condition.
if( v.LengteLuifel>=3500,1,0)
Round
Rounds a value to the nearest integer or specified number of decimal places.
Round(m.Length/500,0)
Ceiling
Floor
Max
Min
Sign
Truncate
Alias

Feedback and Knowledge Base