DigiPara Liftdesigner LDX API
Loading...
Searching...
No Matches
Change pulley beam angle

API method: ILDXPulleyBeam5.ALPHA

Treename: Shaft0.CW.Weight.Support0.

 ' from Samples/Src/LDXAPIExamples/Example_LDXCWFrame.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.CW.Weight.Support0.", "LDXPulleyBeam~ALPHA", "Change pulley beam angle")>
    Public Shared Sub ChangePulleyBeamAngle(ByRef ldxDocument As DigiPara.LDX.LDXDocument)

        If ldxDocument.GetLDXObject("Shaft0.CW.Weight.Support0.") Is Nothing Then
            MsgBox("Pulley beam in counter weight not found!")
            Exit Sub
        End If

        Dim ldxPulleyBeam As DigiPara.LDX.LDXPulleyBeam = ldxDocument.Shafts(0).CWConsole.CWFrame.MoveFrame.GetPulleyBeam(0)

        ldxPulleyBeam.ALPHA = 45

    End Sub