Item types can be removed from the meta model using the swArchitect. This article describes the prerequisites for the operation, and how to do it. 


Prerequisites

  • Familiar with the SystemWeaver meta model building blocks (e.g., Items, Parts and Attributes)
  • Assignment of the SW Architect role in the server
  • An installation of the SystemWeaver Architect client (swArchitect)
  • There are no instances, i.e., items, of the item type to be deleted. In other words, if data has been created for the specific type, the type cannot be removed without first removing or re-typing the data. 


As noted above in the Prerequisites, when you want to delete an item type, you must first delete the data. This includes deleting:

  • Any part type that has the item type as its DefType, or change the DefType to some other item type.
  • Any sub-item type.
  • Any existing items of the type, or changing the item type of those either manually or by using refactoring.


  1. Once all of the above conditions are met, go to the Metadata tab. 
  2. Right-click on the type in the Type tree to the left, and select Delete



If deleting the data does not fit your needs, consider deprecating the item type.