Symbolica How to get a specific value of an expression from type list with more than one columns

2021-10-06T23:27:22Z
Symbolica

Summary


Details

Syntax to get the specific value from a expression with type list is not easy to find if the list contains more than one columns.


Example:
create a expression of type list name "test_options" with 2 columns and 2 rows.

test_options={{1, 2},{3, 4}}



Solution

To get a value of a list expression you need to use the nth() Function.

For example create new expressions with this formulas:
nth(2,nth(1,test_options))  -> this gives the value of row 2, column1 of the list expression "test_options"
nth(2,nth(2,test_options))  -> this gives the value of row 2, column2 of the list expression "test_options"




Hardware/Software Configuration

Platform: all
OS: n/a
OS Version: n/a
Product: NX
Application: DESIGN
Function: EXPRESSION

Ref: 002-8014284

KB Article ID# PL8014284

Contents

SummaryDetails

Associated Components

Symbolica