|
DigiPara Liftdesigner LDX API
|
API method: ILDXMachineRoom5.MRMode
Treename: Shaft0.MachineryRoom.
' from Samples/Src/LDXAPIExamples/Example_LDXMachineRoom.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.MachineryRoom.", "LDXMachineRoom~MRMode", "Without room")>
Public Shared Sub WithoutRoom(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("Shaft0.MachineryRoom.") Is Nothing Then
MsgBox("Machine room not found! Please reload the relevant .ld3 file!")
Exit Sub
End If
ldxDocument.Shafts(0).MachineRoom.MRMode = DigiPara.LDX.MachineRoomModes.mrmLess
End Sub