Property: Count for Segments
- Updated2024-09-12
- 1 minute(s) read
DIAdem VIEW > Properties > Property: Count for Segments
Property: Count for Segments
Returns the number of elements in a Segments collection in DIAdem VIEW.
Object.Count
| Object | Segments Object with this property |
| Object.Count | LongInteger with read access Returns the number of segments in a 2D axis system. |
The following example outputs a message which displays the number of segments in a 2D axis system. The DisplayObj must be a CurveChart2D type.
| VBScript | Python |
Call MsgBoxDisp("Number of Segments: " & View.ActiveSheet.ActiveArea.DisplayObj.Segments.Count)
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