Is it possible to retrieve the names of all linked files (Revit and CAD) from a Revit model?
What I am looking for is the following.
- Retrieve all linked file names from a model.
- Create workset with the same name as the linked files, by appending $LR_, if it is a Revit link and $LC_, if it is a CAD link. (Eg $LR_Filename.rvt or $LC_Filename.dwg)
- Move the link to the workset with the same name. (instance and type worksets)