DigiPara Liftdesigner LDX API
Loading...
Searching...
No Matches
Change runby

API method: ILDXCWFrame5.JUMP

Treename: Shaft0.CW.Weight.

 ' from Samples/Src/LDXAPIExamples/Example_LDXCWFrame.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.CW.Weight.", "LDXCWFrame~JUMP", "[0153] Change runby")>
    Public Shared Sub ChangeRunby(ldxDocument As DigiPara.LDX.LDXDocument)

        If ldxDocument.GetLDXObject("Shaft0.CW.Weight.") Is Nothing Then
            MsgBox("Counterweight frame not found")
            Exit Sub
        End If

        ' Jump height
        ldxDocument.Shafts(0).CWConsole.CWFrame.JUMP = 500

    End Sub