Product Documentation
Virtuoso Space-based Router Command Reference
Product Version IC23.1, September 2023

get_element

get_element
s_string 
s_name 

Description

Parses a string of the form:

"name1:value1,name2:value2,name3:value3…"

to return the value for the named element.

The shorthand version of this command, gelt, can also be used.

Arguments

s_name

Specifies the name.

s_string

Specifies the string to be parsed.

Value Returned

s_value

The value for the named element.

Examples

The following command shows the bounds returns a string representing the bounds of a route segment.

ip bounds [get_selection_set]
"xlo: 570.42, ylo: 567.12, xhi: 589.86, yhi: 567.42"

Using the previous example, the following command returns the value for the xlo element.

get_element [inspect_prop bounds [get_selection_set]] xlo
570.42

The following command uses shorthand names for get_element(gelt) and inspect_prop (ip).

gelt [ip bounds [get_selection_set]] xlo
570.42

Related Topics

Edit Commands

inspect_prop


Return to top
 ⠀
X