This is MejdiM's Typepad Profile.
Join Typepad and start following MejdiM's activity
MejdiM
Recent Activity
I tried this code :
ElementId activeOptId = Autodesk.Revit.DB.DesignOption.GetActiveDesignOptionId(document);
ElementDesignOptionFilter filter = new ElementDesignOptionFilter(activeOptId);
FilteredElementCollector collector5 = new FilteredElementCollector(document);
IList elementsOfDesignOpt = collector5.WherePasses(filter).ToElements();
But, I had an ElementList containing all the elements of the design option set, however, I'm looking to have only elements of the option chosen by the user.
Cheers, Mejdi.
Primary Design Option
Here is a neat little idea by Benson on how to retrieve the primary design option in a project that has been rattling around in my to-do list for a while now and seems suitable for a Tel Aviv Saturday morning post: The method DesignOption.GetActiveDesignOptionId exists in the Revit 2011 API, an...
Dear Jeremy,
I'm looking at a way to know which Design Option used by user in an active view and then to filter elements to have only elements which are in the used design option.
Thanks for your help in advance.
MejdiM
Primary Design Option
Here is a neat little idea by Benson on how to retrieve the primary design option in a project that has been rattling around in my to-do list for a while now and seems suitable for a Tel Aviv Saturday morning post: The method DesignOption.GetActiveDesignOptionId exists in the Revit 2011 API, an...
MejdiM is now following TypePad France
Mar 12, 2013
Subscribe to MejdiM’s Recent Activity