DigiPara Liftdesigner LDX API
Loading...
Searching...
No Matches
Change description and height between floors for all floors

API method: ILDXFloorLevel5.DESC

 ' from Samples/Src/LDXAPIExamples/Example_GroupsConfiguration.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "", "LDXFloorLevel~DESC", "Change description and height between floors for all floors")>
    Public Shared Sub ChangeDescriptionAndHeightBetweenFloorsForAllFloors(ByRef ldxDocument As DigiPara.LDX.LDXDocument)

        If ldxDocument.FloorLevels Is Nothing Then
            MsgBox("No floors found.")
            Return
        End If

        For index = 0 To ldxDocument.FloorLevels.Count - 1
            ' Change floor front description
            ldxDocument.FloorLevels(index).DESC = "floor " + index.ToString
            ' Change height between floors
            ldxDocument.FloorLevels(index).DZ = 5000
        Next

    End Sub