|
DigiPara Liftdesigner LDX API
|
API method: ILDXFloorLevel5.Z_POT
Treename: FLL.Level3.
' from Samples/Src/LDXAPIExamples/Example_LDXFloorLevel.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "FLL.Level3.", "LDXFloorLevel~Z_POT", "Change elevation")>
Public Shared Sub ChangeElevation(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("FLL.Level3.") Is Nothing Then
MsgBox("Desired floor level not found!")
Exit Sub
End If
With DirectCast(ldxDocument.GetLDXObject("FLL.Level3.").LDXType, DigiPara.LDX.LDXFloorLevel)
' Change elevation from ground
.Z_POT = 12000
' Update change
ldxDocument.FloorLevels(.Comp.IX - 1).DZ = ldxDocument.FloorLevels(.Comp.IX).Z_POT - ldxDocument.FloorLevels(.Comp.IX - 1).Z_POT
End With
End Sub