lxRunCmdInXL
lxRunCmdInXL(d_layCVu_cmd[ ?cmdArgsg_cmdArgs] [ ?hierarchical {t | nil} ] [ ?editLayout {t | nil} ] [ ?editSchematic {t | nil} ] [ ?skipLeafs {t | nil} ] [ ?noSchematic {t | nil} ] ) => t / nil
Description
Runs a user-defined command in Layout XL in the current layout or for each unique layout master in the specified layout cellviews hierarchy. When the lxRunCmdInXL SKILL function is run, the CPH and the binder are enabled, but no windows open. The physConfig and the schematic connectivity reference is obtained from the layout cellviews by setting the SKILL functions lxSetConnRef and lxSetConfigRef. The lxRunCmdInXL function does not support the following commands: interactive edits, incremental binding, and incremental extraction. The user-supplied command must have at least two arguments—the schematic cellview ID and the layout cellview ID for the Layout XL session.
Arguments
Value Returned
|
Return value based on the SKILL command provided by the user. |
|
Example
lxRunCmdInXL(lcv 'lxCheckAgainstSource)
Result
= lxRunCmdInXL(lcv 'lxUpdateComponentsAndNets ?hierarchical t ?editLayout t)
procedure(myFn(scv lcv doit)
when(doit
when(myUpdateSchematicFn(scv lcv)
dbSave(scv)
)
)
)
lxRunCmdInXL(lcv 'myFn ?hierarchical t ?cmdArgs list(doit) ?editSchematic t)
Return to top