|
DigiPara Liftdesigner LDX API
|
API method: ILDXCar5.SetH
Treename: Shaft0.
' from Samples/Src/LDXAPIExamples/Example_LDXShaft.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.", "LDXCar~SetH", "[0246] Change shaft depth")>
Public Shared Sub ChangeShaftDepth(ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("Shaft0.Car.") Is Nothing Then
MsgBox("Car not found!")
Exit Sub
End If
With ldxDocument.Shafts(0)
' Front car return
.Car.SetH(DigiPara.LDX.WallType.wtFront, 400)
' Car distance from rear wall
.Car.SetCOMP_DIST(DigiPara.LDX.WallType.wtRear, 500)
' Car depth
.Car.CD = 3000
' Rear car wall thicknesses
.Car.SetWD(DigiPara.LDX.WallType.wtRear, 100)
' Front door clearance
.Car.GetDoor(DigiPara.LDX.WallType.wtFront).DY = 400
' Front door and wall clearance
With .GetEntries(DigiPara.LDX.WallType.wtFront)(0)
.LandingDoor.YN = 400
' Front pocket depth
.GetPocket(0).N_T = -400
End With
End With
End Sub