|
DigiPara Liftdesigner LDX API
|
API method: ILDXLandingDoor5.XN
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~XN", "Change properties")>
Public Shared Sub ChangeProperties(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("Shaft0.Entries1.E0.ShaftDoor.") Is Nothing Then
MsgBox("Desired landing door not found! Please reload the relevant .ld3 file.")
Exit Sub
End If
With DirectCast(ldxDocument.GetLDXObject("Shaft0.Entries1.E0.ShaftDoor.").LDXType, DigiPara.LDX.LDXLandingDoor)
' Make this door different from the other landing doors
.SD_MODE = .SD_MODE Or DigiPara.LDX.LandingDoorModes.ldmUserdefined
' Extra sideways displacement of shaft door
.XN = 88
' Extra upwards displacement of shaft door
.ZN = 111
End With
DirectCast(ldxDocument.GetLDXObject("Shaft0.Entries1.E0.ShaftDoor.").LDXType, DigiPara.LDX.LDXLandingDoor).Door.DoorDimTab.GetValue("DD_DW")
End Sub