Download PRIMER 10.0 user manual

Transcript
User manual Version 10.0, June 2011
PRIMER
Editing a parent *SET_xxx_COLLECT
definition
The only operations you can perform on the
parent set are:
• Change its label. This relabels the
whole collection meaning that when
the keyword deck is written out all
child definitions will use this new
label.
•
Change its title. This title is only used
within PRIMER, as the parent
definition is not written out to the
keyword file, so changing it will be of
limited value.
•
Merge the collection into a single,
ordinary (non _COLLECT) set
definition.
This operation modifies the contents
of this parent set definition to be an
ordinary set, using _LIST format, that
combines the entire contents of all its
child sets. It then deletes all the child
sets and converts this parent set into
an ordinary (non _COLLECT) set.
Once updated this merge operation is
not reversible.
•
Split the collection in N separate,
ordinary (non _COLLECT) sets.
Each child set is given a new
(individual) label, and its
_COLLECT status is turned off. This
leaves it as an ordinary set, but note
that it will not be referenced by
anything else.
The parent set remains, using its
existing label and with its
_COLLECT status also turned off.
However it will have no contents. All
references to the original collection
will still refer to this set.
Following a Split it will be necessary
for you to sort out manually the
consequences of having an empty set
that is (possibly) referred to
elsewhere in the model, and a series
of child sets that are populated but
not referenced.
Once updated this split operation is
not reversible.
Referencing and using a *SET_xxx_COLLECT definition elsewhere in PRIMER
From the point of view of the rest of PRIMER a _COLLECT set is seen as a single item, just like a normal set, and it
will be referred to by the label of the parent definition. In other words no special actions need to be taken when dealing
with a *SET_xxx_COLLECT definition, and it can be dealt with just like any other set. For example sketching the
Page 5.307