dbReplaceProp
dbReplaceProp(g_objectt_namet_propTypeg_value) =>d_prop/ nil
Description
Replaces a scalar property for an object. Calls to dbReplaceProp for abutment groups must be made before calls to dbReplaceProp for pcell properties.
This function is similar to dbCreateProp, except that if a property named t_name already exists on the specified object, its type and value are replaced by the ones specified in t_propType and g_value.
Arguments
|
Name of the property. If t_name exists and is a range or enumerated property, it is replaced by a scalar property. |
|
Value Returned
|
Any argument is in error, or d_object is not a hierarchical property. |
Examples
dbReplaceProp(dbId "netNumber" "int" 12)
dbReplaceProp(dbId "drawGrid?" "boolean" t)
Related Topics
Property Creation and Modification Functions
Return to top