Understanding the sws detach Command

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

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

The sws detach command removes a parent/child relationship between two items in the workspace. Items must be in the workspace to remove the relationships. The operation removes the relationship from the specific revisions of the items that are in the workspace, regardless of whether the items are mapped or unmapped. The structure relationship is also immediately removed from the parent and child items on the 3DEXPERIENCE platform.

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

If there is more than one relationship between the items you selected in the workspace, you must specify the –-all option.