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

API method: ILDXComp5.WEIGHT

Treename: Shaft0.Car.Door1.

 ' from Samples/Src/LDXAPIExamples/Example_LDXCarDoor.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.Car.Door1.", "LDXComp~WEIGHT", "[0192] Change Weights")>
    Public Shared Sub ChangeWeights(ldxDocument As DigiPara.LDX.LDXDocument)

        If ldxDocument.GetLDXObject("Shaft0.Car.Door1.") Is Nothing Then
            MsgBox("Car front door not found!")
            Exit Sub
        End If

        ldxDocument.Shafts(0).Car.GetDoor(DigiPara.LDX.WallType.wtFront).Comp.WEIGHT = 1000

    End Sub