Description
This Tcl command removes a link to a file and copies the file locally to the project.
unlink_copy_locally -file {filename}
Arguments
| Parameter | Type | Description | 
|---|
| file | string | Name of the linked (remote) file you want to unlink and copy locally to the project. | 
| Return Type | Description | 
|---|
| None | None | 
Error Codes
| Error Code | Description | 
|---|
| None | Unable to find the file '*/src'. | 
| None | Parameter 'file' has illegal value. | 
| None | Required parameter 'file' is missing. | 
| None | Parameter 'param_name' is not defined. Valid command formatting is 'unlink_copy_locally -file "file"'. | 
Supported Families
            
            | Supported Families | 
|---|
| PolarFire® | 
| PolarFire SoC | 
| RTG4™ | 
| SmartFusion® 2 | 
| IGLOO® 2 | 
 
        Example
Unlink the file file1.vhd from my project and copy locally to the project.
unlink_copy_locally -file file1.vhd