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

dagAddActionToObject

dagAddActionToObject(
l_action
w_object
) 
=> t_actionName / nil

Description

Adds the action to the specified dag node or class. However, if the action is already in the list, it is not replaced. For an existing action, use dagDeleteActionFromObject to delete the action and then call dagAddActionToObject.

Nodes inherit the actions of their class.

Arguments

l_action

List specifying the action.

w_object

Node or class the action is applied to.

Value Returned

t_actionName

The name of the action (car of the action list).

nil

The function was not successful.

Examples

Adds an action to the myClass dagClass:

action = ’("Hello" "println" "\"hello\"")
dagAddActionToObject(action myClass)

Related Topics

dag Functions

Actions and Action Lists


Return to top
 ⠀
X