Message 1 of 4

Not applicable
02-18-2020
06:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am developing a small plugin for my team. One of the tasks I need to get it working is to be able to link Revit Files. I already manage to link the files using the following method:
public static void LinkNewRVT() { if (!executeCode) return; ModelPath modelPath = ModelPathUtils.ConvertUserVisiblePathToModelPath(linkPath); RevitLinkOptions rlOptions = new RevitLinkOptions(false); var linkType = RevitLinkType.Create(doc, modelPath, rlOptions); var instance = RevitLinkInstance.Create(doc, linkType.ElementId); }
However, I cannot figure out how to create the link by Shared Coordinates. is that option exposed by the API. This is crucial for my plugin to be of any use.
Thanks in advance.
Solved! Go to Solution.