DigiPara Liftdesigner LDX API
Loading...
Searching...
No Matches
Change distance between center lines

API method: ILDXConsole5.CL_DIST

Treename: Shaft0.CW.

 ' from Samples/Src/LDXAPIExamples/Example_LDXCWConsole.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.CW.", "LDXConsole~CL_DIST", "[0110] Change distance between center lines")>
    Public Shared Sub ChangeDistanceBetweenCenterLines(ldxDocument As DigiPara.LDX.LDXDocument)

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

        ldxDocument.Shafts(0).CWConsole.Console.CL_DIST = -300

    End Sub