Chapter III: HIERARCHY

icon

Creating and Deleting Facets

icon


Facets are created with the Edit Facet command of the Facets menu.
A dialog of existing facets is presented, and a new one can be created by clicking on the "New Facet" button. This then presents a dialog in which the new facet name and its view can be specified.
Figure 3.1

Facet names may not contain spaces, tabs, unprintable characters, or a colon. Uppercase and lowercase characters are not distinguished: The facet "UPPER" is the same as the facet "Upper." However, the form of capitalization that is used when a facet is first created is retained for all further use.

To delete a facet, use the Delete Facet command of the Facets menu. You will be given a list of facets and may select the one to delete.

When deleting a facet, there cannot be any instances of this facet, or the deletion fails. As a side effect of failure, you are shown a list of all other facets that have instances of this, so you can see the extent of its use. To find out whether a facet is being used elsewhere in the hierarchy, use the List Facet Usage... command of the Info menu.

To make a new version of a facet, use the New Version of Current Facet command of the Facets menu. This makes a copy of the facet in the current window. The displayed facet is then an older version.

Finally, to clean-up old and unused versions of facets, use the Delete Unused Old Versions command of the Facets menu. Old versions are those whose facet names include the ";VERSION" clause indicating that there is a newer version of this view of the cell. Any such facets that are no longer used as instances in other facets will be deleted from the library. You will get a list of deleted facets, and it is possible to undo this command.


Prev Previous     Contents Table of Contents     Next Next