| Applying science to business management |
  
selectednode
Format: selectednode( all )
Arguments: (bool) all Optional flag indicating
if all selected nodes should be returned, false = primary
node only, true = all selected nodes;
default = false
Returns: (text) Name of the currently selected tree
node(s) in the active tree or null if no node is selected
Description: Use this primitive to create custom menu
entries in the Tools menu group that modify selected
nodes.
The node returned by this primitive does not necessarily exist
in cases where the user has highlighted an undefined node.
Examples: remove(selectednode)
= deletes the selected node
eval(selectednode+":=nrand")
= redefines the selected node
See Also: all, treelist, rootnode, endnodes, inputs, outputs
|