DigiPara Liftdesigner LDX API
Loading...
Searching...
No Matches
Change properties

API method: ILDXRopeCompensationUnit5.DZ

Treename: Shaft0.RopeCompensationUnit.

 ' from Samples/Src/LDXAPIExamples/Example_LDXRopeCompensationUnit.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.RopeCompensationUnit.", "LDXRopeCompensationUnit~DZ", "Change properties")>
    Public Shared Sub ChangeProperties(ByRef ldxDocument As DigiPara.LDX.LDXDocument)

        If ldxDocument.GetLDXObject("Shaft0.RopeCompensationUnit.") Is Nothing Then
            MsgBox("Desired rope compensation unit not found! Please reload the relevant .ld3 file.")
            Exit Sub
        End If

     With ldxDocument.Shafts(0).RopeCompensation(0)
         ' Change distance to pit
         .DZ = 555
         ' Change displacement of pulley from the rear wall
         .PULLEY_Y0 = -555
     End With
 End Sub