|
DigiPara Liftdesigner LDX API
|
API method: ILDXMoveFrame5.PB1_DX
Treename: Shaft0.CW.Weight.
' from Samples/Src/LDXAPIExamples/Example_LDXCWFrame.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.CW.Weight.", "LDXMoveFrame~PB1_DX", "Change pulley beam displacements")>
Public Shared Sub ChangePulleyBeamDisplacements(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("Shaft0.CW.Weight.Support0.") Is Nothing Then
MsgBox("Pulley beam not found within counter weight frame!")
Exit Sub
End If
Dim ldxMoveFrame As DigiPara.LDX.LDXMoveFrame = ldxDocument.Shafts(0).CWConsole.CWFrame.MoveFrame
With ldxMoveFrame
' Displacement of the pulley beam within the counter weight frame
' Sideways
.PB1_DX = -222
' Inward
.PB1_DY = -33
' Upward
.PB1_DZ = 333
End With
End Sub