Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
namespace RevitAddin38 { [Transaction(TransactionMode.Manual)] public class Command : IExternalCommand { public Result Execute( ExternalCommandData commandData, ref string message, ElementSet elements) { UIApplication uiapp = commandData.Application; UIDocument uidoc = uiapp.ActiveUIDocument; Application app = uiapp.Application; Document doc = uidoc.Document; Reference r = uidoc.Selection.PickObject(ObjectType.Element, "Please pick an element"); Element element = doc.GetElement(r.ElementId); Parameter param = element.get_Parameter(BuiltInParameter.INSTANCE_SILL_HEIGHT_PARAM); TaskDialog.Show(element.Name.ToString(), param.ToString()); return Result.Succeeded; } } }
Hello Friends
I want to get sill height parameter when i run the code i get this
How can i get sill height value
Thanks in advance...
Solved! Go to Solution.