DigiPara Liftdesigner LDX API
Loading...
Searching...
No Matches
Change predefined location

API method: ILDXRopeWallFixing5.CASE

Treename: Shaft0.Components.WallFixing1.

 ' from Samples/Src/LDXAPIExamples/Example_LDXRopeWallFixing.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.Components.WallFixing1.", "LDXRopeWallFixing~CASE", "Change predefined location")>
    Public Shared Sub ChangePredefinedLocation(ByRef ldxDocument As DigiPara.LDX.LDXDocument)

        If ldxDocument.GetLDXObject("Shaft0.Components.WallFixing1.") Is Nothing Then
            MsgBox("Desired rope wall fixing not found! Please reload the relevant .ld3 file!")
            Exit Sub
        End If

        Dim ldxRopeWallFixing As DigiPara.LDX.LDXRopeWallFixing = DirectCast(ldxDocument.GetLDXObject("Shaft0.Components.WallFixing1.").LDXType, DigiPara.LDX.LDXRopeWallFixing)
        ldxRopeWallFixing.CASE = ldxRopeWallFixing.CASE And Not DigiPara.LDX.RopeWallFixingCases.rwfcTop

    End Sub