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

API method: ILDXSillSupport5.CLR_DZ

Treename: Shaft0.Entries1.E3.SillSupport.

 ' from Samples/Src/LDXAPIExamples/Example_LDXSillSupport.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.Entries1.E3.SillSupport.", "LDXSillSupport~CLR_DZ", "Change properties")>
    Public Shared Sub ChangeProperties(ldxDocument As DigiPara.LDX.LDXDocument)

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

        With DirectCast(ldxDocument.GetLDXObject("Shaft0.Entries1.E3.SillSupport.").LDXType, DigiPara.LDX.LDXSillSupport)
            ' This sill is different from others
            .SILLSUPPORT_MODE = .SILLSUPPORT_MODE Or DigiPara.LDX.SillSupportModes.LDXssmManual
            ' Change color
            Dim sillProfile As DigiPara.LDX.LDXProfile = .Comp.Profiles(0)
            sillProfile.Comp.VisualMaterial.PGOGL_RID64 = 11000
            ' Length
            sillProfile.SetEquation(DirectCast(DigiPara.LDX.ProfileEquationType.peqtL, Integer), "2222")
            ' Thickness
            sillProfile.SetEquation(DirectCast(DigiPara.LDX.ProfileEquationType.peqtH, Integer), "222")
            ' The clearance from the floor level
            .CLR_DZ = 111
            ' The clearance from the left
            .CLR_LEFT = 222
            ' The clearance from the right
            .CLR_LEFT = 333
        End With

    End Sub