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

API method: ILDXJamb5.DW_DIST_LEFT

Treename: Shaft0.Entries1.E0.Jamb.

 ' from Samples/Src/LDXAPIExamples/Example_LDXJamb.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.Entries1.E0.Jamb.", "LDXJamb~DW_DIST_LEFT", "Change properties")>
    Public Shared Sub ChangeProperties(ldxDocument As DigiPara.LDX.LDXDocument)

        If ldxDocument.GetLDXObject("Shaft0.Entries1.E0.Jamb.") Is Nothing Then
            MsgBox("Desired jamb not found! Please reload the relevant .ld3 file.")
            Exit Sub
        End If

        With DirectCast(ldxDocument.GetLDXObject("Shaft0.Entries1.E0.Jamb.").LDXType, DigiPara.LDX.LDXJamb)
            ' The right addition to the jamb width
            .DW_DIST_LEFT = 111
            ' The left addition to the jamb width
            .DW_DIST_RIGHT = 111
            ' The thickness factor of the left side of the jamb
            .JD_THICK_FACTOR_LEFT = 2
            ' The thickness factor of the right side of the jamb
            .JD_THICK_FACTOR_RIGHT = 2
            ' The thickness factor of the top side of the jamb
            .JD_THICK_FACTOR_TOP = 2
            ' The clockwise rotation of the left side
            .JD_ALPHA_LEFT = 20
            ' The clockwise rotation of the right side
            .JD_ALPHA_RIGHT = 20
        End With

    End Sub