Product Documentation
Virtuoso Schematic Editor SKILL Functions Reference
Product Version IC23.1, November 2023

schReplaceProperty

schReplaceProperty( 
l_objId 
t_propName 
t_propValue 
)
=> t / nil

Description

Changes the value of t_propName to t_propValue for the object. This function checks if the net, pin terminal, and master properties exist for the object.

This function can replace only those properties that can be modified with dbSetq.

Arguments

l_objId

List that contains one object ID. l_objId must be a database object in a schematic or symbol cellview. The cellview containing the property must be editable.

t_propName

Name of the property to add or modify; must be enclosed in quotation marks.

t_propValue

String value of the property to assign; must be enclosed in quotation marks. The value type is converted to the found property. If no property is found, a property of type string is created. If t_propName is master, t_propValue must be a string and the string must contain

t_libName t_cellName t_viewName 

(separated by spaces).

Value Returned

t

Changes the value of t_propName to t_propValue for the object.

nil

Could not change the value.

Examples

Changes the instance name of specified instance to myInst.

instList = list( instId )
schReplaceProperty( instList "instName" "myInst" )

Return to top
 ⠀
X