fbpx

Multicode Engineering Library

Multicode. OBC 2012. Slope factor Cs ***

Звезда не активнаЗвезда не активнаЗвезда не активнаЗвезда не активнаЗвезда не активна
 

Function returns slope factor Cs in accordance with 4.1.6.2 OBC12.

General information

Function OBC12__4_1_6_2__FactorCs returns slope factor Cs in accordance with 4.1.6.2 Ontario Building Code 2012. You can use this function in your applications and reports during snow loads calculating.

DLL

dystlab.multicode.dll

Usage format (Pascal)

function OBC12__4_1_6_2__FactorCs(Alpha: Double; Slippery: Integer): Double; stdcall; external [DllName];

Parameters:

  • Alpha — roof slope in degrees;
  • Slippery=1, if roof is slippery and snow and ice can slide completely off the roof; otherwise Slippery=0.

Return value

Function returns slope factor Cs in accordance with 4.1.6.2 OBC12.

Directives

  • DllName — library name. If DLL included in installation pack, then DllName is 'dystlab.multicode.dll'.

Example for TechEditor

Next code calls function from DLL and shows standard message box. Code can be used in applications for TechEditor 1.0.5 and higher.

uses
Classes, Dialogs;

function OBC12__4_1_6_2__FactorCs(Alpha: Double; Slippery: Integer): Double; stdcall; external 'dystlab.multicode.dll';

var
Cs: Double;

begin
Cs := OBC12__4_1_6_2__FactorCs(15.0, 0);
ShowMessage('Slope factor: ' + FloatToStr(Cs));
end;

See also

Ontario Building Code 2012 | Load combination (Free Application & Report Template)

Новые статьи

Dystlab™ — Project for Engineers

Dystlab™ — торговая марка, зарегистрированная в Государственном реестре свидетельств Украины на знаки для товаров и услуг 26.02.2018, свидетельство № 238304. Владелец: физическое лицо-предприниматель Артемов В. Е., ЕГРПОУ/ИНН: 3003314690.

E-mail:
technot needed texteditoranother not needed text@dystlabdummy text.store

Telegram:
https://t.me/techeditor