|
DigiPara Liftdesigner LDX API
|
API method: ILDXHideCS5.Scale
Treename: Shaft0.Car.Frame.Profile21.
' from Samples/Src/LDXAPIExamples/Example_LDXCarFrame.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Shaft0.Car.Frame.Profile21.", "LDXHideCS~Scale", "Scale a profile")>
Public Shared Sub ScaleAProfile(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("Shaft0.Car.Frame.Profile21.") Is Nothing Then
MsgBox("Desired profile not found! Please reload the relevant .ld3 file.")
Exit Sub
End If
DirectCast(ldxDocument.GetLDXObject("Shaft0.Car.Frame.Profile21.").LDXType, DigiPara.LDX.LDXProfile).Comp.LocalMatrix.Scale(0.75)
End Sub