|
DigiPara Liftdesigner LDX API
|
API method: ILDXCarFloorPanel5.Mode
Treename: Shaft0.Car.Design.Floor.Panels.PanelRow3.Panel1.
' from Samples/Src/LDXAPIExamples/Example_LDXCarFloor.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.Car.Design.Floor.Panels.PanelRow3.Panel1.", "LDXCarFloorPanel~Mode", "Change properties of a panel")>
Public Shared Sub ChangePropertiesOfAPanel(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("Shaft0.Car.Design.Floor.Panels.PanelRow3.Panel1.") Is Nothing Then
MsgBox("Desired car floor panel not found! Please reload the relevant .ld3 file.")
Exit Sub
End If
With DirectCast(ldxDocument.GetLDXObject("Shaft0.Car.Design.Floor.Panels.PanelRow3.Panel1.").LDXType, DigiPara.LDX.LDXCarFloorPanel)
' Panel properties are independent of other panels within the column
.Mode = .Mode Or DigiPara.LDX.CarFloorPanelModes.cfpDifferentType
' Change the clearance
.CarFloorPanelTab.SetValue("CFP_USER_PG_50", 35)
End With
End Sub