RemoveAssociation

From HEWIKI
Jump to: navigation, search

RemoveAssociation(source as noderef, association_type as string, target as noderef)

Arguments

<source> 
A node reference referring to the source node.
<association_type> 
A string representing the type of association to remove.
<target> 
A node reference referring to the target node.

Description

This is a built-in HSL function that removes the association between a target and source node. To remove all associations between the two nodes, use the Query Association command to make a list of all associations, and then loop through and delete them individually.

Example

RemoveAssociation(backpackNoderef, "in", swordNoderef)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox