Understanding the dsrepoLockCellViewP SKILL API Function

The locking API allows a user to lock a single cell view.

See Also
dsrepoLockCellViewP SKILL API Function Options
dsrepoLockCellViewP(
       t_libName
       t_cellName
       t_viewName 
       [?silent t]
)
=> nil / (x_pass x_fail)

The command returns a list of pass and fail counts; the first integer represents the number of objects successfully locked and the second integer represents the number of failures. The dsrepoLockCellViewP function lets you lock single cell view, so the returned list is (1 0) if the lock is successful and (0 1) if the lock 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 have a view open for read in a design edit window, and the user uses the API call to lock the view, the design edit window automatically changes to edit mode.