DigiPara Liftdesigner LDX API
Loading...
Searching...
No Matches
Change distance from car to guide rail

API method: ILDXCarFrame5.DIST_CAR_2_GUIDE

Treename: Shaft0.Car.Frame.GuideShoeBottom1.

 ' from Samples/Src/LDXAPIExamples/Example_LDXCarFrame.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.Car.Frame.GuideShoeBottom1.", "LDXCarFrame~DIST_CAR_2_GUIDE", "Change distance from car to guide rail")>
    Public Shared Sub ChangeDistanceFromCarToGuideRail(ByRef ldxDocument As DigiPara.LDX.LDXDocument)

        If ldxDocument.GetLDXObject("Shaft0.Car.Frame.GuideShoeBottom1.") Is Nothing Then
            MsgBox("Desired guide shoe not found! Please reload the relevant .ld3 file.")
            Exit Sub
        End If

        Dim ldxCarFrame As DigiPara.LDX.LDXCarFrame = ldxDocument.Shafts(0).Car.CarFrame

        ldxCarFrame.DIST_CAR_2_GUIDE = 0

    End Sub