opmultiparm command

Gets or sets multiparm channel linking information for a node.

All Usages Options Examples

Usages

  1. opmultiparm node [multiparm refparm]...

If you don’t specify any pairs of multiparm and referenced parm names, prints all existing multiparm links for the node.

Options

multiparm refparm

When new instances of the multiparm are created, a channel reference to the refparm is automatically created in that instance. The multiparm should have at least one '#' symbol in it that will be replaced by the indew of the new multiparm instance. The refparm must have the same number of '#' symbols, which will similarly be substituted with the multiparm instance indices.

Examples

opmultiparm /obj/geo1/add1
Print the multiparm references for /obj/geo1/add1.

opmultiparm /obj/geo1/add1 "pt#x" "../add2/pt#x" "pt#y" "../add2/pt#y"
Creates links between the x and y components of the pt instance parameter. So any new instances of this parameter on the add1 SOP will automatically be set to channel references of the corresponding pt instance parameter on the add2 SOP.