Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 67020

Re: Get individual elements within an insterted ifc

$
0
0

Hi  ,

try using the below code

//Get the LINKED DOCUMENT Document linkedDoc = null; foreach(Document d in app.Documents) { if(d.Title!=doc.Title && d.Title=="Your Linked Document Title") { linkedDoc = d; break; } } //Get the linked element id Reference R = uidocument.Selection.PickObject(ObjectType.LinkedElement); //Get the linked element from linked document Element e = linkedDoc.GetElement(R.LinkedElementId);

Here are some related links

https://thebuildingcoder.typepad.com/blog/2013/09/access-to-individual-elements-in-linked-projects.html 

https://adndevblog.typepad.com/aec/2014/02/how-to-get-the-picked-element-in-the-linked-model.html

 


Viewing all articles
Browse latest Browse all 67020

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>