|
DigiPara Liftdesigner LDX API
|
API method: ILDXPowerReceivingBox5.DZ
Treename: Shaft0.MachineryRoom.PowerReceivingBox.
' from Samples/Src/LDXAPIExamples/Example_LDXPowerReceivingBox.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.MachineryRoom.PowerReceivingBox.", "LDXPowerReceivingBox~DZ", "Change location")>
Public Shared Sub ChangeLocation(ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("Shaft0.MachineryRoom.PowerReceivingBox.") Is Nothing Then
MsgBox("Desired power recieving box in machine room not found! Please reload the relevant .ld3 file.")
Exit Sub
End If
With DirectCast(ldxDocument.GetLDXObject("Shaft0.MachineryRoom.PowerReceivingBox.").LDXType, DigiPara.LDX.LDXPowerReceivingBox)
' Upward displacement from the bottom of the floor
.DZ = 777
' Sideways displacement
.DELTA = 1555
End With
End Sub