pcUserPostProcessObject
pcUserPostProcessObject(d_obj t_tag p_port) =>t / nil
Description
A user-defined procedure called by the compiler after it processes any object (instance, shape, terminal, and so forth) in a master Pcell. The procedure is normally used to generate code to modify a generated object.
Arguments
Value Returned
Examples
procedure( pcUserPostProcessObject(obj tag port ) if( obj~>objType == "inst" && obj~>userSpecialProp then ; generate code to change its magnification
fprintf(port "%s~>mag = pcUserMagScale\n" tag)
)
)
Checks to see if the object is an instance and has a property userSpecialProp. If so, code is generated to change the magnification of the instance to pcUserMagScale (which was defined using pcUserPreProcessCellView).
Return to top