Message 1 of 2
Get Level from Wall's Top Constraint Parameter

Not applicable
11-15-2019
08:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Guys,
I am am trying to retrieve the Level object from a Wall's Top Constrain parameter. But I am not sure if this is posssible. Although having a look in the Revit Lookup I can get to that data.
Do you guys know if this is achiavable?
Here is my short method for know, (dont pay attention to the name of and the fact that is returning void)
private void FilterDependantWallsOnHeight(double heightFilter, List<Wall> walls) { for (int i = 0; i < walls.Count; i++) { Parameter TopConstrain = walls[i].get_Parameter(BuiltInParameter.WALL_HEIGHT_TYPE); ElementId id= TopConstrain.AsElementId(); } }
Thanks, Nicholas