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

inspect_prop

inspect_prop
{s_propName | list} 
[d_setObj | {d_ctuObj…} ] 

Description

Returns the specified property for objects in a set or objects from a list of object references. If no objects are given, the objects in the selected set are inspected.

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

If the property name is a dot-separated list of names, the name is treated specially, recursively processing for each element of the chain of names. The following command returns the great-grandfather for an object:

ip parent [ip parent [ip parent]]

This command can also be given as

ip parent.parent.parent

Arguments

{d_ctuObj…}

Specifies a list of one or more object identifiers.

d_setObj

Specifies the identifier for a set of objects.

s_propName

Specifies the name of the property.

list

Returns a list of all of the property names that exist on any of the referenced objects.

Value Returned

propertyValue

Is the property value. If a list of object identifiers is input, then a list of property values is returned.

Examples

The following examples illustrate how the inspect_prop (ip) command is used.

Usage Description
ip name $net

($net contains the net object identifier)
Returns NET123

ip name [list $net1 $net2]

($net1 and $net2 contain object identifiers for the respective nets)
Returns [list NET123 NET456]

ip name

Returns the names of the selected objects

ip name [get_selection_set]

Returns the name of the selected set ("Selection Set")

ip type [ip parent.parent]

For a selected route segment, returns the grandparent type "ctuNet" (parent is "ctuRoute")

For additional examples, refer to:

Related Topics

Edit Commands

hp

make_list


Return to top
 ⠀
X