|
DigiPara Liftdesigner LDX API
|
API method: ILDXObject5.SendChangeNotification
Treename: Shaft0.CW.BracketList.Bracket0.AnchorRail0.
' from Samples/Src/LDXAPIExamples/Example_LDXAnchorRail.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.CW.BracketList.Bracket0.AnchorRail0.", "LDXObject~SendChangeNotification", "Synchronize anchor rail length")>
Public Shared Sub SynchronizeAnchorRailLength(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("Shaft0.CW.BracketList.Bracket0.AnchorRail0.") Is Nothing Then
MsgBox("Anchor rails not found!")
Exit Sub
End If
With ldxDocument.Shafts(0).CWConsole.Console.RailBrackets(0).GetAnchorRail(0)
.Length = 1000
If MsgBox("Do you want to change the bottom anchor rail length only? If not all anchor rail lengths will be changed.", MsgBoxStyle.YesNo) = MsgBoxResult.No Then
.Object.SendChangeNotification("", "AR_MODE")
End If
End With
End Sub