- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Apologies for the simplistic nature of the question and thank you in advance for any clarification.
First a little background I am using Revit 2018 and programming in C#.
As I understand it CAD Links can be made to files of the following format DWG, DXF, DGN, SAT & SKP.
When I utilise the following:
IList<Element> Revitlist = (IList<Element>)new FilteredElementCollector(openDoc).OfClass(typeof(RevitLinkType)).WhereElementIsElementType().ToList<Element>();
This provides me with a list of these Linked files.
I can create (Reload) a link to a DWG file utilising:
trans.Start();
cadLinkType.LoadFrom(string Path);
trans.Commit();
if I try the same for any other supported CAD Link types i.e. DXF it returns an error stating it is not a DWG.
Question
How do you create (Reload) a link to none DWG CadLinkType formats.
What am I missing?
Again thank you for your assistance.
Solved! Go to Solution.