Understanding the dsrepoCheckinCellP SKILL API Function

This checkin API allows a user to check in one or more cells.

See Also
dsrepoCheckinCellP SKILL API Function Options
dsrepoCheckinCellP(
    t_libName tl_cellNames 
    [?viewNames tl_viewNames] 
    [?comment t_comment]
    [?save g_save]
    [?keeplocks t]
    [?silent t]
)
=> nil / (x_pass x_fail)

If you have modified the cell contents, the operation saves the modified cells before the checkin, by default. If you want to prompt the user to choose whether to save or abandon the modifications, specify the ?save nil option.

You can specify a comment by:

  • entering the comment.
  • specifying the location of a file containing the comment.
  • if you do not specify a comment, the system uses the default comment, "Checkin from Semiconductor Repository Client."

By default, the checkin operation releases the locks for all included objects, but you can set the keeplocks option to t (true) and the operation retains the lock after completion.

The command returns a list of pass and fail counts; the first integer represents the number of objects successfully checked in and the second integer represents the number of failures. The function raises an error if argument checking fails. In all other failure cases, the function either raises an error or returns nil.

Note: If you specify keeplocks as true while you check in a view that is also open for edit in a design edit window; the design edit window changes to read-only mode when the checkin completes.