Product Documentation
Virtuoso Parameterized Cell SKILL Reference
Product Version IC23.1, August 2023

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

d_obj

Database ID of object.

t_tag

Name for the object in the generated SKILL code.

p_port

Port to which the output code is generated.

Value Returned

t / nil

Return value is not relevant.

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
 ⠀
X