schFlatten
schFlatten(d_inst[ ?atg_at] ) =>l_list/ nil
Description
Flattens the contents of the schematic cellview under the passed instance into the cellview of the instance. To control which underlying schematic is picked, configure viewList first.
Arguments
|
The ID of the instance which has the schematic cellview to be flattened. |
|
Value Returned
|
A disembodied property list that contains the names of the instances and all the renames that have been performed. |
|
|
The contents of the schematic cellview could not be flattened. |
Examples
Finds an instance in the schematic and flattens it, auto-placing the contents.
inst = dbFindAnyInstByName(cv "I0")
schFlatten(inst)
Determines where to place the flattened content. The bottom left corner of the content is placed at the specified coordinate.
inst = dbFindAnyInstByName(cv "I1")
schFlatten(inst ?at 0:3)
Flattens schematic2 if it exists. If it does not exist, it tries to flatten schematic next, and so on.
schSetEnv("viewList" "schematic2 schematic symbol")
inst = dbFindAnyInstByName(cv "I2")
schFlatten(inst ?at 0:3)
Return to top