|
DigiPara Liftdesigner LDX API
|
API method: ILDXLandingDoor5.Height
Treename: Shaft0.Entries1.E0.ShaftDoor.
' from Samples/Src/LDXAPIExamples/Example_LDXLandingDoor.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.Entries1.E0.ShaftDoor.", "LDXLandingDoor~Height", "Change height")>
Public Shared Sub ChangeHeight(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("Shaft0.Entries1.E0.ShaftDoor.") Is Nothing Then
MsgBox("Landing door not found!")
Exit Sub
End If
Dim ldxEntries As DigiPara.LDX.LDXEntries = ldxDocument.Shafts(0).GetEntries(DigiPara.LDX.WallType.wtFront)
Dim ldxEntry As DigiPara.LDX.LDXEntry = ldxEntries(0)
ldxEntry.LandingDoor.Height = 1111
ldxEntries.CopyValues(ldxEntry.Comp.IX, -1, ldxEntry.Object.ObjectId)
ldxEntry.LandingDoor.Object.SendChangeNotification("", "")
End Sub