|
DigiPara Liftdesigner LDX API
|
API method: ILDXRoofFace5.Thickness
Treename: Shaft0.Roof.RoofFace0
' from Samples/Src/LDXAPIExamples/Example_LDXRoof.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.Roof.RoofFace0", "LDXRoofFace~Thickness", "Change Individual Roof Face Thickness")>
Public Shared Sub ChangeRoofFaceThickness(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
Dim roof As DigiPara.LDX.LDXRoof = ldxDocument.Shaft.Room.Roof
ActivateFrontRearOnly(roof)
Dim roofFaceFront = roof.GetFace(DigiPara.LDX.WallType.wtFront)
Dim roofFaceRear = roof.GetFace(DigiPara.LDX.WallType.wtRear)
' we need to allow manual thickness for this roof face
roofFaceRear.RoofFaceMode = roofFaceRear.RoofFaceMode Or DigiPara.LDX.RoofFaceModes.rfmManualThickness
' change roof thickness
If roofFaceRear.Thickness < 200 Then
roofFaceRear.Thickness = 400
Else
roofFaceRear.Thickness = 100
End If
End Sub