|
DigiPara Liftdesigner LDX API
|
API method: ILDXProfilePoint5.PGT_RID64
Treename: Shaft0.Car.Frame.CPTS.PT0.
' from Samples/Src/LDXAPIExamples/Example_LDXCarFrame.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.Car.Frame.CPTS.PT0.", "LDXProfilePoint~PGT_RID64", "[0519] Change profile point options")>
Public Shared Sub ChangeProfilePointOptions(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("Shaft0.Car.Frame.CPTS.PT0.") Is Nothing Then
MsgBox("Characteristic points not found! Please reload the relevant .ld3 file.")
Exit Sub
End If
With DirectCast(ldxDocument.GetLDXObject("Shaft0.Car.Frame.CPTS.PT0.").LDXType, DigiPara.LDX.LDXProfilePoint)
' Add sub component
.PGT_RID64 = 1
' Change modes
.PGP_MODE_ENUM = DigiPara.LDX.ProfilePointModes.ppmCopyToGhost Or DigiPara.LDX.ProfilePointModes.ppmDynamicDimensionPoint
End With
End Sub