The Delete_Folder command allows users to delete specific folders of signals or metrics from the data tree.
The Delete_Folder command is located in the pipeline workshop's Signal/Data Management folder.
Delete_Folder /SIGNAL_TYPES= /FOLDER= ! /REMOVE_FROM_RECALC_PIPELINE=FALSE ;
| Parameter | Description |
|---|---|
| Signal Types | The signal type to work with. |
| Folder | The specific folder(s) to be deleted. |
| Remove from Recalc pipeline | If true, then the signals contained in the deleted folder will also be removed from the Recalc pipeline. Default value is false. |
This example demonstrates how to remove all LINK_MODEL_BASED items from the workspace and the Recalc pipeline.
Delete_Folder /SIGNAL_TYPES=LINK_MODEL_BASED+LINK_MODEL_BASED /FOLDER=ORIGINAL+PROCESSED /REMOVE_FROM_RECALC_PIPELINE=TRUE ;
After running this command, all ORIGINAL and PROCESSED Link_Model_Based signals will be removed from the workspace and the corresponding Compute_Model_Based_Data commands will be removed from the Recalc pipeline.