Message 1 of 18
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
FamilyInstance familyInstance = element as FamilyInstance; IList<Reference> familyInstanceReferences = familyInstance.GetReferences(FamilyInstanceReferenceType.StrongReference); foreach (Reference familyInstanceReference in familyInstanceReferences) { // I want to get direction of reference }
Hello friends,
In 2018 version i can get the reference in familyinstance directly.
But i want to get the direction of references(reference planes or reference lines)
How can i achieve this?
Line line = doc.GetElement(reference).GetGeometryObjectFromReference(reference) as Line;
didnt work for me.
Thanks in advance...
Solved! Go to Solution.