DigiPara Liftdesigner LDX API
Loading...
Searching...
No Matches
Properties of gear frame with 2 deflection sheave

API method: ILDXGearFrame5.DEFL_BASE_DX

Treename: Shaft0.Gear.GearFrame.

 ' from Samples/Src/LDXAPIExamples/Example_LDXGear.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.Gear.GearFrame.", "LDXGearFrame~DEFL_BASE_DX", "Properties of gear frame with 2 deflection sheave")>
 Public Shared Sub PropertiesOfGearFrameWith2DeflectionSheave(ByRef ldxDocument As DigiPara.LDX.LDXDocument)

     If ldxDocument.GetLDXObject("Shaft0.Gear.GearFrame.") Is Nothing Then
         MsgBox("Gear frame not found!")
         Exit Sub
     End If

     Dim ldxGearFrame As DigiPara.LDX.LDXGearFrame = ldxDocument.Shafts(0).Gear.Frame

     With ldxGearFrame
         ' Base sideways displacement of centers of deflection sheave pulley and gear pulley
         .DEFL_BASE_DX = -111
         ' Additional displacement from the base sideways displacement
         .DEFSHEAVE_2_DX = -222
     End With

 End Sub