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

inspect_setprop

inspect_setprop 
-prop_name s_propName 
-value s_propValue 
[ -set d_setObj | -object d_ctuObj ] 
[ -item i_index ] 

Description

Sets the value of the named existing property for an object in the given set or the selected set, or a given object.

The GUI equivalent for this command is Edit—Properties.

Arguments

-item i_index

Specifies the index of the object within the set. If there is only one object in the set, this argument is not needed. For a set of two objects, the first object is item 1, and the second is item 2.

-object d_ctuObj

Specifies the object to set.

-prop_name s_propName

Specifies the name of the property to set the value for.

-set d_setObj

Specifies the set to use. If this argument is not given, the selected set is used.

-value s_propValue

Specifies the new value for the property.

Value Returned

0

The property is set.

-1

The property was not set due to a problem with the command such as a syntax error.

Examples

The following example sets the orientation of a single selected instance.

inspect_setprop -prop_name orientation -value R90

Related Topics

Edit Commands

inspect_getprop


Return to top
 ⠀
X