// 건축물의 구조기준 등에 관한 규칙 45조 (보강블록구조의 담) 1항
Check(RSSB_45_1){
getResult(RSSB_3_3) = TRUE AND KS
}
KS{
getObjectHeight(Fence) <= 3m
}
|
def Check():
fence = SELECT("fence")
fenceHeight = fence.SELECT("height").NUMBER().UNIT('m')
if fenceHeight <= 3:
fence.SUCCESS("fence height: "+str(fenceHeight)+"m")
else:
fence.ERROR("fence height: "+str(fenceHeight)+"m")
|