fbpx

Multicode Engineering Library

Multicode. OBC 2012. Slope factor Cs ***

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

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

English forum

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

New articles

Dystlab™ — Project for Engineers

Dystlab™ is a trademark registered in the State Register of Certificates of Ukraine for Goods and Services Marks 26.02.2018, certificate No. 238304. Owner: entepreneur Artomov V.E., EGRPOU/ITN: 3003314690.

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

Telegram:
https://t.me/techeditor

 

Legal information