Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

envUnregLoadDumpTrigger

envUnregLoadDumpTrigger(
?tool t_toolName 
?loadFunc s_loadFunc 
?dumpFunc s_dumpFunc
?preDumpFunc s_preDumpFunc
)
=> t / nil

Description

Deregisters the specified trigger functions for the specified tool. The specified functions are deleted from the corresponding list of the trigger functions for the tool.

Arguments

?tool t_toolName

The name of the tool from where the specified functions need to be deleted.

?loadFunc s_loadFunc

  

The function to be deleted from the list of load trigger functions.

?dumpFunc s_dumpFunc

  

The function to be deleted from the list of dump trigger functions.

?preDumpFunc s_preDumpFunc

  

The function to be deleted from the list of preDump trigger functions.

Values Returned

t

The trigger functions were deregistered.

nil

The operation is not completed.

Examples

;; There are two different load trigger functions
( defun loadTrigger_1 ( )   ( ... ))
( defun loadTrigger_2 ( )   ( ... ))
;; they are registered to be called after the load of the tool's environment variables
envRegLoadDumpTrigger( ?tool "tool" ?loadFunc 'loadTrigger_1 )
envRegLoadDumpTrigger( ?tool "tool" ?loadFunc 'loadTrigger_2 )
envLoadFile( "someFileWhichContansToolEnvVars.cdsenv" )
;; => Here both load trigger functions are called
;; Now the loadTrigger_1 function is unregistered as a load trigger function
;; and it is deleted from the list of load trigger functions
envUnregLoadDumpTrigger( ?tool "tool" ?loadFunc 'loadTrigger_1 )
envLoadFile( "someFileWhichContansToolEnvVars.cdsenv" )
;; => Here only the loadTrigger_2 load trigger function is called

Related Topics

Cdsenv Editor Functions


Return to top
 ⠀
X