ContMultCont
Creates a new continuous variable with values contVar1[i]*contVar2[i], returns a reference to the new variable.
Syntax
ContMultCont(contVar1, contVar2)
Parameters
Parameter |
Type |
Description |
---|---|---|
contVar1 |
variableReference |
Reference to the continuous variable. |
contVar2 |
variableReference |
Reference to the continuous variable. |
Return
Creates a new continuous variable with values contVar1[i]*contVar2[i], returns a reference to the new variable.
Examples
Python
import nex
doc = nex.GetActiveDocument()
FP01_mult_by_FP02 = nex.ContMultCont(doc["FP01"], doc["FP02"])
# you can also use arithmetic operations on continuous variables:
doc["FP01_mult_by_FP02"] = doc["FP01"]*doc["FP01"]
NexScript
doc = GetActiveDocument()
FP01_mult_by_FP02 = ContMultCont(doc["FP01"], doc["FP02"])