Hi,Originally posted in cdnusers.org by mims
I am using database functions to create schematic or layout instances. Sometimes some of the pcell cdf parameters won't get copied as properties no matter what value the "storeDefaults" has... The function cdfUpdateInstParam seems to fix that problem.
The cdf user guide says:
Stores the CDF parameters specified in the effective cell CDF of the instance master onto the
specified instance. When the Id given is not for an instance or the instance master does not
have CDF definition, it returns nil.
However when I open an instance through the gui to initialize cdfgData and cdfgForm, and then create a new instance through dbCreateInst and call cdfUpdateInstParam, the parameter values of the new instance are the same as the ones that were set through the gui.
So is cdfUpdateInstParam updating the cdf parameters of the master of the current instance, or is it using the last master as is in the gui? Am I misinterpreting my results?