GetContNumDataPoints

Returns the number of data points in the continuous variable.

Syntax

GetContNumDataPoints(var)

Parameters

Parameter

Type

Description

var

variableReference

Reference to a continuous variable

Return

Returns the number of data points in the continuous variable.

Examples

Python

import nex
doc = nex.GetActiveDocument()
# get the number of data points in the continuous variable named "FP01"
numPoints = nex.GetContNumDataPoints(doc["FP01"])

NexScript

doc = GetActiveDocument()
% get the number of data points in the continuous variable named "FP01"
numPoints = GetContNumDataPoints(doc["FP01"])