Not applicable
11-18-2013
06:58 PM
Hello everyone,
I'm a Revit API newbie. How can I get base and top level of a selected column? The following codes don't work:
UIDocument uidoc = new UIDocument(Document); Document doc = uidoc.Document; ElementSet col = uidoc.Selection.Elements; foreach(Element e in col) { Parameter pB = e.get_Parameter(BuiltInParameter.FAMILY_BASE_LEVEL_PARAM); Parameter pT = e.get_Parameter(BuiltInParameter.FAMILY_TOP_LEVEL_PARAM); TaskDialog.Show("Column Levels", pB.AsString()+" & "+pT.AsString()); }
I'm using Revit One Box 2013. Thank for any help!
Solved! Go to Solution.
Link copied