DigiPara Liftdesigner LDX API
Loading...
Searching...
No Matches
Change clearance

API method: ILDXScaffoldings5.SetClearance

Treename: Shaft0.AssemblyPlatformList.

 ' from Samples/Src/LDXAPIExamples/Example_LDXScaffoldings.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.AssemblyPlatformList.", "LDXScaffoldings~SetClearance", "Change clearance")>
    Public Shared Sub ChangeClearance(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)
            .SetClearance(0, .GetClearance(0) + 202)
            .SetClearance(1, .GetClearance(1) + 91)
        End With

    End Sub