|
DigiPara Liftdesigner LDX API
|
API method: ILDXRoom5.Width
Treename: Shaft0.MachineryRoom.
' from Samples/Src/LDXAPIExamples/Example_GroupsConfiguration.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.MachineryRoom.", "LDXRoom~Width", "Change machine room dimensions and position")>
Public Shared Sub ChangeMachineRoomDimensionsAndPosition(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("Shaft0.MachineryRoom.") Is Nothing Then
MsgBox("Valid machine room not found")
Return
End If
Dim ldxRoom As DigiPara.LDX.LDXRoom = ldxDocument.Shafts(0).MachineRoom.Room
With ldxRoom
' Machine room width
.Width = 10000
' Machine room depth
.DEPTH = 11111
' Sideways displacement of the machine room
.Y0 = -3333
' Inward displacement of the machine room
.X0 = -555
End With
End Sub