List of available methods

General methods

("scale", alternative_division, format)

The "scale" method returns a formatted text describing the scale of a figure. If the scale of the figure is expressed by a typical fraction, e.g. 1/50, 1/25, 1/10 etc., then, it is written precisely in this manner. Otherwise, the scale takes the form of a decimal fraction, rounded to several significant decimal points, accompanied by an inscription determining an "alternative division". It must be a text in the form of a ratio of two length units, e.g. "cm/m". In the third (optional) parameter, there may be hidden the symbol of a fraction (default ":"

- in France, the slash "/" is preferred).

Apart from this, there may appear a digit designating precision.

Scales differing in horizontal and vertical directions will be expressed in this order and connected with the small letter 'x'. Example:

@label("scale","cm/m","/3") may yield the following value "1/50x2.15cm/m"

The horizontal scale may be expressed by the 1:50 fraction (written with a slash). The vertical scale is not a simple fraction. Therefore, it was formatted in an alternative way, namely : "2.15cm/m"

("steel_symbol", steel_type)

The "steel_symbol" method returns a steel symbol. It is obligatory to define the steel type, which must assume one of the four letter values: "R" (ribbed) - ribbed steel, "P" (plain) - plain steel, "L" (longitudinal) - longitudinal steel, "T" (transversal) - transversal steel. Instead of a zero value, the method returns a failure message.

("steel", unit, steel_type)

The "steel" method returns the weight/mass of the steel used in a structure. The "unit" parameter is optional (default value "kg") and may take the form of a mass or weight unit. The steel type, if determined, may take one of the four letter values: "R" (ribbed) - ribbed steel, "P" (plain) - plain steel, "L" (longitudinal) - longitudinal steel, "T" (transversal) - transversal steel. Absence of steel type in the parameters of calling up this method signifies that the value designates the total amount of used steel. Instead of a zero value, the method returns a failure message.

("concrete", unit)

The "concrete" method returns the volume of concrete used in a structure. The "unit" parameter is optional (default value "m^3"). Instead of a zero value, the method returns a failure message.

("formwork", unit)

The "formwork" method returns the area of formwork. The "unit" parameter is optional (default value "m^2"). Instead of a zero value, the method returns a failure message.

("cover", unit, cover_type)

The "cover" method returns the size of concrete cover. The "unit" parameter is optional (default value "cm"). "Cover_type" parameter makes sense in the case of beams and may take one of the two letter values: "B" (bottom) - bottom/main cover or "L" (lateral) - lateral cover.

("number")

The "number" method returns the number of elements.

("concrete_class")

The "concrete_class" method returns the concrete class or error, if the class is not determined.

("fck", unit)

The "fck" method returns concrete resistance. The "unit" parameter is optional (default value "MPa").

("fyk", unit, steel_type)

The "fyk" method returns steel resistance. The "unit" parameter is optional (default value "MPa"). The "steel_type" parameter may take one of the four letter values: "R" (ribbed) - ribbed steel, "P" (plain) - plain steel, "L" (longitudinal) - longitudinal steel, "T" (transversal) - transversal steel. If the parameter has not been defined and an RC element contains steel types of differing resistance values, the method ends in a failure.

("steel_class", steel_type)

The "steel_class" method returns the grade of steel. The "steel_type" parameter is obligatory and can take one of the two letter values : "L" (longitudinal) - longitudinal steel, "T" (transversal) - transversal steel.

("section", unit, connecting symbol)

The "section" method returns the dominant section of RC element (identical section along 85% of element length). The "unit" parameter is optional (default value "cm"). The third parameter "connecting symbol" (default "x") is used to connect the two dimensions of a section.

("level")

The "level" method returns the name of the level at which an RC element has been defined.

("fire_resistance")

The "fire_resistance" method returns the fire resistance value in hours , or an error if the value is not determined.

("cracking_category")

The "cracking_category" method returns the degree of allowable cracking in an RC element, or an error, if it is not determined.

("exposure_class")

The "exposure_class" method returns exposure rating, or an error, if it is not determined.