RemoveAssociation

From HEWIKI
Revision as of 14:26, 20 June 2011 by HE-NICK (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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