Message 1 of 5
Extracting a named reference plane from FamilyInstance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear All,
I have been struggling to extract a particular reference plane named "Aligned". I need to create a plane that is at exact orientation of the reference plane inside the FamilyInstance. I used the GetReferenceByName() method, as follows;
FamilyInstance familyInstance = doc.GetElement
(
uiDoc.Selection.PickObject(
Autodesk.Revit.UI.Selection.ObjectType.Element,
new FamilyInstanceFilter(),
"Select a family instance")
) as FamilyInstance;
Reference alignReference = familyInstance.GetReferenceByName("Aligned");
I saw several posts with solutions here, for creating dimensions using the GetReferenceByName(), but could not find one with solution to extract the plane.
How to do this?