- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
Hope some one can help me to get type parameters from a system family
I can get the instants like Area & Volume, but not eg. Keynote
With compoment families do I use eg Door.Symbol.get_Parameter(BuiltInParameter.KEYNOTE_PARAM);
But I can't get it to work with system families like floors.
Where do I fail ?? 🙂
FilteredElementCollector FMFloorCollector = new FilteredElementCollector(OpenDoc);
FMFloorCollector.OfClass(typeof(Floor));
foreach (Floor FMFloor in FMFloorCollector)
{
Floor_Keynote = FMFloor.get_Parameter(BuiltInParameter.KEYNOTE_PARAM);
Floor_Family = FMFloor.get_Parameter(BuiltInParameter.ALL_MODEL_FAMILY_NAME);
Floor_Mark = FMFloor.get_Parameter(BuiltInParameter.ALL_MODEL_MARK);
Floor_Type = FMFloor.get_Parameter(BuiltInParameter.ALL_MODEL_TYPE_NAME);
Floor_Description = FMFloor.get_Parameter(BuiltInParameter.ALL_MODEL_DESCRIPTION);
Floor_Area = FMFloor.get_Parameter(BuiltInParameter.HOST_AREA_COMPUTED);
Floor_Volume = FMFloor.get_Parameter(BuiltInParameter.HOST_VOLUME_COMPUTED);
}
Solved! Go to Solution.