//건축물의 구조기준 등에 관한 규칙 39조 (조적식구조인 담) 1호
Check(RSSB_39_0_1){
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")
|