Skip to main content

5.6.1 - Functionalities available in assemblies

Jolyane Couture avatar
Written by Jolyane Couture
Updated over 3 weeks ago

When creating an assembly, a number of functions are available to facilitate calculations.

The most common functions are:

ceil(x): calculates upper integer rounding (ceil = ceiling)

floor(x): calculates the lower integer rounding (floor = floor)

round(x,n): returns integer rounding to nearest value specified in parameter

trunc(x,2): returns a number with two decimal places only

if(?,x,y): The if statement, used in conjunction with a logical comparison operator, is used to test whether a condition is true. In our case, X = yes and Y = no.

Example formula:

ceil(floor area/material_area)

if(garantie_platinum==1, garantie_platinum, 0)

Did this answer your question?