Understanding the dsrepoCheckinCellViewP SKILL API Function

This checkin API allows a user to check in a single cell view.

See Also
dsrepoCheckinCellViewP SKILL API Function Options
dsrepoCheckinCellViewP(
       t_libName t_cellName t_viewName 
       [?comment t_comment]
       [?save g_save]
       [?silent g_silent]
       [?keeplocks t]
)
=> nil / (x_pass x_fail)

If you have modified the view, then the operation saves the view 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 API function returns a list of pass and fail counts; the first integer represents the number of objects successfully checked out and the second integer represents the number of failures. The dsrepoLockCellViewP function lets you checkin a single cell view, so the returned list is (1 0) if the checkout is successful and (0 1) if the checkout fails. 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.