next up previous contents index
Next: Move an Element Up: Sequence Editor Previous: Flatten the Sequence being   Contents   Index


Install an Element

New element(s) can be installed in the edited sequence by the commands

object-name:class-name,AT=at-expression,SELECTED,attributes;
object-name:class-name,AT=at-expression,FROM=place,attributes;
object-name:class-name,AT=at-expression,attributes;
class-name,AT=at-expression,SELECTED;
class-name,AT=at-expression,FROM=place;
class-name,AT=at-expression;
It has the following attributes:
object_name
The name of the element to be installed. If the object name is given, attributes may also be specified to override the attributes of the class.
class_name
The name of the class from which the element is to be defined.
AT
The position where to install the element.
FROM
Three cases are possible:
SELECTED
New elements are inserted at AT=at-expression from each currently selected element.
FROM=place
A new element is installed at position AT=at-expression relative to the (unique) element at place.
FROM omitted or blank
A new element is installed at the absolute position AT=at-expression.
Relative positions may be negative.
The two names object-name and class-name interact in the same way as for a sequence definition. The reference points for elements is defined by the REFER attribute of the SEQUENCE.


next up previous contents index
Next: Move an Element Up: Sequence Editor Previous: Flatten the Sequence being   Contents   Index
MAD User Guide, http://wwwslap.cern.ch/mad/