Description
This Tcl command changes the source of all the linked files in your project.
change_all_links -current_path {current source path} \
                 -new_path {new source path}
Arguments
| Parameter | Type | Description | 
|---|
| current_path | string | Current source path of linked files. It is mandatory. | 
| new_path | string | New source path of linked files. It is mandatory. | 
| Return Type | Description | 
|---|
| None | None | 
Error Codes
| Error Code | Description | 
|---|
| None | No files are linked in the project from the specified current path. Please check the path. | 
| None | Param 'new_path' should not be empty. | 
| None | Parameter 'new_path' has illegal value. | 
| None | Required parameter 'new_path' is missing. | 
| None | Parameter 'current_path' has illegal value. | 
| None | Required parameter 'new_path' is missing. | 
| None | Parameter 'param_name' is not defined. Valid command formatting is 'change_all_links -current_path "current_path" -new_path "new_path"'. | 
Supported Families
            
            | Supported Families | 
|---|
| PolarFire® | 
| PolarFire SoC | 
| RTG4™ | 
| SmartFusion® 2 | 
| IGLOO® 2 | 
 
        Example
Change the source of all the link files in project from “./src/link_source_old” to “./src/link_source_new”
change_all_links -current_path {./src/link_source_old} \
                 -new_path {./src/link_source_new }