get position of linked project base point.
Hi all
I want to get the project base point parameters (E/W, N/S and Elev) from a linked file.
The Parametersmap seems te be empty. Can anyone help?
#RVT links
rvt_links = FilteredElementCollector(doc).WhereElementIsNotElementType().OfClass(RevitLinkInstance).ToElements()
siteCategoryfilter = ElementCategoryFilter(BuiltInCategory.OST_ProjectBasePoint);
check_links = ""
coordinates = []
for rvt_link in rvt_links:
active_doc = rvt_link.GetLinkDocument()
if active_doc:
siteElements = FilteredElementCollector(active_doc).WhereElementIsNotElementType().WherePasses(siteCategoryfilter).ToElements();
positions = []
for ele in siteElements:
x = ele.ParametersMap.get_Item("E/W")
Link copied