|
DigiPara Liftdesigner LDX API
|
API method: ILDXScaffoldings5.SetWallDist
Treename: Shaft0.AssemblyPlatformList.
' from Samples/Src/LDXAPIExamples/Example_LDXScaffoldings.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.AssemblyPlatformList.", "LDXScaffoldings~SetWallDist", "Change distance from front wall")>
Public Shared Sub ChangeDistanceFromFrontWall(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetObject("Shaft0.AssemblyPlatformList.") Is Nothing Then
MsgBox("Scaffolding list in desired frame not found! Please reload the relevant .ld3 file.")
Exit Sub
End If
With DirectCast(ldxDocument.GetLDXObject("Shaft0.AssemblyPlatformList.").LDXType, DigiPara.LDX.LDXScaffoldings)
.SetWallDist(DigiPara.LDX.WallType.wtFront, .GetWallDist(DigiPara.LDX.WallType.wtFront) + 133)
End With
End Sub