IntOr

Creates a new Interval Variable that contains unions of the intervals of intervalVar1 and intervalVar2.

Syntax

IntOr(doc, intervalVar1, intervalVar2)

Parameters

Parameter

Type

Description

doc

documentReference

Reference to the document.

intervalVar1

variableReference

Reference to the interval variable

intervalVar2

variableReference

Reference to the interval variable

Return

Reference to the new interval variable.

Note

Creates a new Interval Variable that contains unions of the intervals of intervalVar1 and intervalVar2

Examples

Python

import nex
doc = nex.GetActiveDocument()
doc["Trials1and2"] = nex.IntOr(doc, doc["Trials1"], doc["Trials2"])

NexScript

doc = GetActiveDocument()
doc["Trials1and2"] = IntOr(doc, doc["Trials1"], doc["Trials2"])