This is MejdiM's Typepad Profile.
Join Typepad and start following MejdiM's activity
Join Now!
Already a member? Sign In
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.
Toggle Commented Mar 13, 2013 on Primary Design Option at The Building Coder
1 reply
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
Toggle Commented Mar 12, 2013 on Primary Design Option at The Building Coder
1 reply
MejdiM is now following TypePad France
Mar 12, 2013