Back to top

hsbBOMLink | Appendix

Variable

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

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

Project

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

Inventory

Syntax: i.inventoryitemExample:  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:

StartWith Indicates that a string starts with another string.
StartsWith(searchIn, 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 t. 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.
IsNull(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 map 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 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 Returns the largest integer less than or equal to the specified number.
Floor
Max Returns the largest value from the provided values. Max(I.Quantity,10)
Min Returns the smallest value from the provided values. Min(I.Quantity,5)
Sign Returns -1 if the value is negative, 0 if it is zero, and 1 if it is positive. Sign(I.Price)
Truncate Removes the decimal portion of a number without rounding. Truncate(m.Length/500)
Alias Creates an alternative name for an expression or value so it can be referenced later
appendix,bomlink,Projects
Need Support?

Can’t find the answer you’re looking for? Don’t worry we’re here to help!

Contact support