CreateLine
Create new virtual lines and return them in an ObjectList. Specify the line type with an Option.
Where applicable, the input Objects become operand 1 for the new lines by default. Specify subsequent operands with one or more Arguments.
Specify an integer N as the second Option to indicate the number of optional operands.
Applies to Document or Variable Objects.
Options |
Syntax
ObjectsMatcher | CreateLine Options [| Argument ... | Argument]
Examples
Creating a new virtual line that requires no operands.
> Ev File | CreateLine FixedDepthOperator
Fixed Depth 1
Creating a virtual line requiring two operands.
> Fileset 1: Sv raw pings T1 | CreateLine ArithmeticOperator | Maximum Sv line pick 1 | Maximum Sv line pick 2
Arithmetic 1
Create more than one.
> * | CreateLine CropOperator
Crop 1 | Crop 2 | Crop 3
If a variable number of operand arguments is allowed then a follow-on Action will be mistaken for an operand unless the number of Arguments is specified.
> Sv raw pings T1 | CreateLine StatisticalCombinationOperator | Arithmetic 1 | Arithmetic 2 | Properties Statistic = | Median
ERROR | "Statistic =" is not a known object for CreateLine third parameter (operand).
> Sv raw pings T1 | CreateLine StatisticalCombinationOperator 2 | Arithmetic 1 | Arithmetic 2 | Properties Statistic = | Median
Statistical combination 1
See also
About the command interface
Using the command interface
Using the console