|
DigiPara Liftdesigner LDX API
|
API method: ILDXRailBrackets5.DZ
Treename: Shaft0.HYD.BracketList.
' from Samples/Src/LDXAPIExamples/Example_LDXRailBrackets.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.HYD.BracketList.", "LDXRailBrackets~DZ", "Change properties")>
Public Shared Sub ChangeProperties(ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("Shaft0.HYD.BracketList.") Is Nothing Then
MsgBox("Rail brackets not found!")
Exit Sub
End If
Dim ldxRailBrackets As DigiPara.LDX.LDXRailBrackets = ldxDocument.Shafts(0).HY.Console.RailBrackets
With ldxRailBrackets
' Distance between rail brackets
.DZ = 2222
' The base position of the 1st bracket from the bottom of the shaft
.DZ_BASE = 333
' The additional upward displacement of the 1st bracket from the base
.DZ_START = 222
' Distance from the wall
.WALL_DIST = 0
' Distances from the wall of cylinder (base) fixing profiles and guide rail fixing profiles
.Y1 = 333
' Additional distance from the wall of guide rail fixing profiles
.Y2 = 222
End With
End Sub