
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How to extract the Value of Parameter W for HSS section with Revit API?
foreach (Element e in new FilteredElementCollector(doc)
.OfClass(typeof(FamilyInstance))
.OfCategory(BuiltInCategory.OST_StructuralColumns)
.Where(m => m.Name.Contains("HSS")) // select just HSS columns
{
FamilySymbol fs = fi.Symbol;
Family family = fs.Family;
Parameter p = fi.LookupParameter("Nominal Weight");
data += fi.Name + " " + family.Name + " : " + fs.Name + " : " + fi.GetType ().ToString()+ "\n";
}
TaskDialog.Show("BI Params",data);
Solved! Go to Solution.