|
DigiPara Liftdesigner LDX API
|
API method: ILDXGovernor5.PU_D
Treename: Shaft0.Car.Frame.Gov.
' from Samples/Src/LDXAPIExamples/Example_LDXGovernor.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.Car.Frame.Gov.", "LDXGovernor~PU_D", "Change properties")>
Public Shared Sub ChangeProperties(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("Shaft0.Car.Frame.Gov.") Is Nothing Then
MsgBox("Overspeed governor not found!")
Exit Sub
End If
Dim ldxGovernor As DigiPara.LDX.LDXGovernor = ldxDocument.Shafts(0).Car.CarFrame.MoveFrame.Governor
With ldxGovernor
' Diameter
.PU_D = 444
' Thickness
.PU_T = 99
' Upward displacement relative to the position (In the machine room, in the pit, under the shaft ceiling, etc.)
.PU_DZ = 333
End With
End Sub