|
DigiPara Liftdesigner LDX API
|
API method: ILDXCar5.SetER
Treename: Shaft0.Car1.
' from Samples/Src/LDXAPIExamples/Example_LDXCar.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.Car1.", "LDXCar~SetER", "Sideways displacement of front entry from right car wall")>
Public Shared Sub SidewaysDisplacementOfFrontEntryFromRightCarWall(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("Shaft0.Car1.") Is Nothing Then
MsgBox("The second car in car frame not found! Please reload the relevant .ld3 file.")
Exit Sub
End If
Dim ldxCar As DigiPara.LDX.LDXCar = ldxDocument.Shafts(0).Car2
' Sideways displacement of the front entry from the right car wall
ldxCar.SetER(DigiPara.LDX.WallType.wtFront, 333)
' Make the same changes in car one also
ldxCar.Object.SendChangeNotification("", "")
End Sub