DigiPara Liftdesigner LDX API
Loading...
Searching...
No Matches
Change wall of the counter weight

API method: ILDXCWConsole5.ChangeWall

Treename: Shaft0.CW.

 ' from Samples/Src/LDXAPIExamples/Example_LDXCWConsole.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.CW.", "LDXCWConsole~ChangeWall", "Change wall of the counter weight")>
    Public Shared Sub ChangeWallOfTheCounterWeight(ldxDocument As DigiPara.LDX.LDXDocument)

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

        Dim ldxCWConsole As DigiPara.LDX.LDXCWConsole = ldxDocument.Shafts(0).CWConsole

        ldxCWConsole.ChangeWall(DigiPara.LDX.WallType.wtRear, 0)

    End Sub