Structure Partitions ─ Deployment and Administration
Create a partition hierarchy and derive an inferred recipe
You can use the create_partitions utility to create a partition hierarchy and derive an inferred recipe.
If you need to create partitions in bulk, the recommended way is to use a .csv file. However, if you have to update an element, you must do it through the Active Workspace user interface because updating an element is not supported by the utility.
You can run the create_partitions utility as follows:
create_partitions -u=admin_user -p=admin_user_password -g=dba -product_id=item_id_of_top_item -file=path_to_input_file
Partitions for a product are created based on the details provided in the input .CSV file. Subsequently, to create additional partitions for the same product, you might run the create_partitions utility with a new or updated .CSV file.
For detailed description of each argument of the create_partitions utility, refer to its help using the Teamcenter command prompt:
create_partitions -h
To create a partition hierarchy by using a .csv file, you can download the sample .csv file to create your own file (available from the source topic). The sample file contains the guidelines on how to arrange the data to create a partition hierarchy.
Caution The column headers in the .CSV file must be the internal names of the properties.
For the partitions created manually, you must set values for the indexed properties. These values will be used later to populate the partitions correctly with structure elements. For this:
Procedure
- In Active Workspace, open the structure.
- From Partition Scheme, select the persistent partition scheme that you added, for example, System.
- Select the Partition Recipe Props column arrangement from Table Settings > Arrange.
- For each leaf-level partition, enter the values in the column that shows the indexed properties (for example, PS_PTY10 and PS_PTY20). For example, for Dent Repair Kit, enter the value as 10B for PS_PTY10 and 6C, 6E for PS_PTY20. You must enter the values for all indexed properties.
You can populate the recipes on partitions in one of the following ways:
- While using the create_partitions utility, in the input CSV file, you can separate multiple recipes by using a '|'.
- While using the Active Workspace UI, the properties that are added on the partitions to input recipes are array properties, and they accept multiple recipe entries. If you populate the recipes interactively with '|'-separated values, they are considered as one recipe.
For example, Partition Recipe for Sample_Prop is an array property that accepts multiple recipe entries.
To view the inferred recipe, select a partition, and go to its Overview tab. The criteria are listed under AGGREGATE PARTITION RECIPE. Only the structure elements that meet these criteria are added to the selected leaf partition.
Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.xid1977946/xid2020144 · retrieved Sat Jul 11 2026 00:00:00 GMT+0000 (Coordinated Universal Time)