IntAnd

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

Syntax

IntAnd(intervalVar1, intervalVar2)

Parameters

Parameter

Type

Description

intervalVar1

variableReference

Reference to the interval variable

intervalVar2

variableReference

Reference to the interval variable

Return

The reference to the new interval variable.

Note

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

Examples

Python

import nex
doc = nex.GetActiveDocument()
doc["Conditions_1_and_2"] = nex.IntAnd(doc["Condition1"], doc["Condition2"])

NexScript

doc = GetActiveDocument()
doc["Conditions_1_and_2"] = IntAnd(doc["Condition1"], doc["Condition2"])