Method: ChangeShape for 3DCurves
- Updated2024-09-12
- 1 minute(s) read
DIAdem REPORT > Methods > Method: ChangeShape for 3DCurves
Method: ChangeShape for 3DCurves
Changes the display mode of a curve in a 3D axis system in DIAdem REPORT.
Set o3DCurve = Object.ChangeShape(NameOrIndex, ShapeType)
Object | 3DCurves Object with this method | |||||||||||||||||||||||||||||||||
NameOrIndex | Variant Specifies the name or the index of the 3D curve. | |||||||||||||||||||||||||||||||||
ShapeType | Enumeration with the following selection terms:
| |||||||||||||||||||||||||||||||||
o3DCurve | 3DCurve Returned object |
The following example generates a 3D axis system with a curve and changes the display mode of the curve:
VBScript | Python |
Dim oMy3DAxisSystem, oMy3DCurve Call Data.Root.Clear() Call DataFileLoad(DataReadPath & "Report_Data.tdm","TDM","") Call Report.NewLayout() Set oMy3DAxisSystem = Report.ActiveSheet.Objects.Add(eReportObject3DAxisSystem, "MyAxisSystem") Set oMy3DCurve = oMy3DAxisSystem.Curves3D.Add(e3DShapeLine, "My3DCurve") oMy3DCurve.Shape.XChannel.Reference = "[3]/[1]" oMy3DCurve.Shape.YChannel.Reference = "[3]/[2]" oMy3DCurve.Shape.ZChannel.Reference = "[3]/[3]" Call Report.Refresh() Call Pause(5) Call oMy3DAxisSystem.Curves3D.ChangeShape("My3DCurve",e3DShapeSpikes) Call Report.Refresh()