- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have created a family that represents panel (panello.rfa).
When I try to search that panel inside the list of panels and in Revit family it appears (panels.PNG), it is not in list
FilteredElementCollector panelTypes
= new FilteredElementCollector(doc)
.OfClass(typeof(PanelType));
bool found= false;
foreach (PanelType pt in panelTypes)
{
if ("pannello" == pt.Name)
{
windowType = pt;
found= true;
}
}
Can someone tell me why and how to solve?
Regards,
Bruno
Solved! Go to Solution.