|
DigiPara Liftdesigner LDX API
|
API method: ILDXCarFloorPanelRow5.CarFloorPanelRowTab
Treename: Shaft0.Car.Design.Floor.Panels.PanelRow3.
' from Samples/Src/LDXAPIExamples/Example_LDXCarFloor.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.Car.Design.Floor.Panels.PanelRow3.", "LDXCarFloorPanelRow~CarFloorPanelRowTab", "Change panels per row")>
Public Shared Sub ChangePanelsPerRow(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("Shaft0.Car.Design.Floor.Panels.PanelRow3.") Is Nothing Then
MsgBox("Desired car floor panel row not found! Please reload the relevant .ld3 file.")
Exit Sub
End If
With DirectCast(ldxDocument.GetLDXObject("Shaft0.Car.Design.Floor.Panels.PanelRow3.").LDXType, DigiPara.LDX.LDXCarFloorPanelRow)
' Manually set row items arrangement
.Object.SetValue("COMPONENTS_MODE", 1)
' Change number of row items
.Object.SetValue("LIST_COUNT", 7)
' Change row item length
.CarFloorPanelRowTab.SetValue("CFPR_DY", 300)
End With
End Sub