DigiPara Liftdesigner LDX API
Loading...
Searching...
No Matches
Change shaft (landing) door and car front door

API method: ILDXShaft5.DTColDwgDimTab

Treename: Shaft0.Entries1.E0.ShaftDoor.

 ' from Samples/Src/LDXAPIExamples/Example_LDXShaft.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.Entries1.E0.ShaftDoor.", "LDXShaft~DTColDwgDimTab", "Change shaft (landing) door and car front door")>
 Public Shared Sub ChangeShaftDoorAndCarFrontDoor(ByRef ldxDocument As DigiPara.LDX.LDXDocument)

     If ldxDocument.GetLDXObject("Shaft0.Entries1.E0.ShaftDoor.") Is Nothing Then
         MsgBox("Shaft door not found!")
         Exit Sub
     End If

     Dim ldxShaft As DigiPara.LDX.LDXShaft = ldxDocument.Shafts(0)

     With ldxShaft
         .DTColDwgDimTab.SetValue("DTDD_SHAFT_DD_RID", 44)
         .DTColDwgHorTab.SetValue("DTH_SHAFT_DD_RID", 44)
     End With

 End Sub