|
DigiPara Liftdesigner LDX API
|
API method: ILDXMoveFrame5.GS_Z_TOP
Treename: Shaft0.CW.Weight.
' from Samples/Src/LDXAPIExamples/Example_LDXCWFrame.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.CW.Weight.", "LDXMoveFrame~GS_Z_TOP", "Change upward guide shoe displacements")>
Public Shared Sub ChangeUpwardGuideShoeDisplacements(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
' Enable manual change of upward guide shoe displacements
.MOVEFRAME_MODE = .MOVEFRAME_MODE Or DigiPara.LDX.MoveFrameModes.mfmGsDzManual
' Upward displacement of guide shoes within the counter weight frame
' Bottom
.GS_Z_BOTTOM = -1777
' Top
.GS_Z_TOP = -222
End With
End Sub