DigiPara Liftdesigner LDX API
Loading...
Searching...
No Matches
Change ghost visible portion

API method: ILDXCWConsole5.GHOST_DZ_FACTOR

Treename: Shaft0.CW.

 ' from Samples/Src/LDXAPIExamples/Example_LDXCWConsole.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.CW.", "LDXCWConsole~GHOST_DZ_FACTOR", "Change ghost visible portion")>
    Public Shared Sub ChangeGhostVisiblePortion(ldxDocument As DigiPara.LDX.LDXDocument)

        If ldxDocument.GetLDXObject("Shaft0.CW.") Is Nothing Then
            MsgBox("Counterweight console not found!")
            Exit Sub
        End If

        Dim ldxCWConsole As DigiPara.LDX.LDXCWConsole = ldxDocument.Shafts(0).CWConsole

        ldxCWConsole.GHOST_DZ_FACTOR = 1

    End Sub