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

API method: ILDXCarPlatform5.ISO

Treename: Shaft0.Car.Platform.

 ' from Samples/Src/LDXAPIExamples/Example_LDXCarPlatform.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.Car.Platform.", "LDXCarPlatform~ISO", "[0230] Change height")>
    Public Shared Sub ChangeProperties(ldxDocument As DigiPara.LDX.LDXDocument)

        If ldxDocument.GetLDXObject("Shaft0.Car.Platform.") Is Nothing Then
            MsgBox("Car platform not found!")
            Exit Sub
        End If

        Dim ldxCarPlatform As DigiPara.LDX.LDXCarPlatform = ldxDocument.Shafts(0).Car.Platform

        With ldxCarPlatform
            ' Enable manual change of properties
            .Comp.UserDefined = True
            ' Upward displacement between car and car platform
            .FloorPlateDZ = 222
            ' Car platform thickness
            .UC = 111
            ' Upward displacement between car frame and car platform
            .ISO = 99
        End With

    End Sub