Understanding the sws insert Command

This command creates a relationship between two items in a workspace and stores that relationship in the 3DEXPERIENCE platform.

See Also
Managing Item Hierarchy
Adding and Removing Items in your Workspace
sws insert Command Options

The sws insert command creates a parent/child relationship between two items in the workspace. Items must be in the workspace to create the relationship. The operation creates the relationship using the specific revisions of the items that are in the workspace, regardless of whether the items are mapped or unmapped.

Important: The command does not require the items in the workspace to be up to date to create the relationship. Verify that the workspace contains the desired item revisions and any mappings are in place before creating the relationship.

You can have multiple instance relationships between the same items; however, you cannot use this command to create a new relationship if there is an existing relationship.