Property: Index for Segment
- Updated2024-09-12
- 1 minute(s) read
DIAdem VIEW > Properties > Property: Index for Segment
Property: Index for Segment
Returns the index of a segment in a 2D axis system in DIAdem VIEW.
Object.Index
| Object | Segment Object with this property |
| Object.Index | LongInteger with read access |
The following example adds a segment to a 2D axis system and outputs a message which displays the index of this segment. The DisplayObj must be a CurveChart2D type.
| VBScript | Python |
Dim oNewSegment Set oNewSegment = View.ActiveSheet.ActiveArea.DisplayObj.Segments.Add("[1]/[1]","[1]/[3]","X") Call MsgBoxDisp("Index of NewSegment: " & oNewSegment.Index)
See Also
Examples
Alignment Functions in DIAdem VIEW | Automatic Display of Harmonic Frequencies | Bird's Eye View Display | Calculating a Tangent to a Curve | Contour Display in DIAdem VIEW | Creating and Viewing Long Data Channels | Dynamic Display of Statistical Characteristic Values in DIAdem VIEW | Overlaying Objects in Videos | Planetary Motion | Synchronizing Videos and Data | Synchronizing Videos and Waveform Data | User Dialog Box in VIEW for the Calculation of the FFT and Harmonic Frequencies | Using a User Command to Calculate the Difference between the Y-Values | Various Display Modes in DIAdem VIEW | Vibration Data Analysis with Parallel Processing | Viewing and Automatically Analyzing Data