<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get element of variant or get the variant of an element in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/get-element-of-variant-or-get-the-variant-of-an-element/m-p/8137876#M48676</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please explain what is "Variant"?&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jul 2018 11:21:00 GMT</pubDate>
    <dc:creator>naveen.kumar.t</dc:creator>
    <dc:date>2018-07-18T11:21:00Z</dc:date>
    <item>
      <title>Get element of variant or get the variant of an element</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-element-of-variant-or-get-the-variant-of-an-element/m-p/8137643#M48675</link>
      <description>&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all, i don't know if the word 'variant' is the good translation from "Variante" in French.&lt;/P&gt;&lt;P&gt;So, if it's not clear for you, i'll try to clarifie it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to get the property "variant" of a element, or get all element of one variant.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made somes search but i didn't find anything...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maxence&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 09:20:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-element-of-variant-or-get-the-variant-of-an-element/m-p/8137643#M48675</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-18T09:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Get element of variant or get the variant of an element</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-element-of-variant-or-get-the-variant-of-an-element/m-p/8137876#M48676</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please explain what is "Variant"?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 11:21:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-element-of-variant-or-get-the-variant-of-an-element/m-p/8137876#M48676</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2018-07-18T11:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get element of variant or get the variant of an element</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-element-of-variant-or-get-the-variant-of-an-element/m-p/8137883#M48677</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After have make more research, i figured out it's "design option" in english version.&lt;/P&gt;&lt;P&gt;So i found this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ElementId activeOptId = Autodesk.Revit.DB.DesignOption.GetActiveDesignOptionId(m_doc);
            ElementDesignOptionFilter filter = new ElementDesignOptionFilter(activeOptId);
            //

            FilteredElementCollector collector = new FilteredElementCollector(m_doc);
            IList&amp;lt;Element&amp;gt; m_elementsToProcess = collector.WherePasses(filter).WhereElementIsNotElementType().ToElements();&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now i'm looking to get the "design option" of an element when I don't use this filtre,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maxence&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 11:24:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-element-of-variant-or-get-the-variant-of-an-element/m-p/8137883#M48677</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-18T11:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get element of variant or get the variant of an element</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-element-of-variant-or-get-the-variant-of-an-element/m-p/8138138#M48678</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I figured out this last point by myself..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For anyone who would like to know&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;gt; just use&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Element e;
e.DesignOption&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 13:11:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-element-of-variant-or-get-the-variant-of-an-element/m-p/8138138#M48678</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-18T13:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get element of variant or get the variant of an element</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-element-of-variant-or-get-the-variant-of-an-element/m-p/8617096#M48679</link>
      <description>&lt;P&gt;Bonjour, pour votre information, nous avons un forum en français: &lt;A href="https://forums.autodesk.com/t5/revit-et-bim-francais/bd-p/198" target="_blank"&gt;https://forums.autodesk.com/t5/revit-et-bim-francais/bd-p/198&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Feb 2019 10:23:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-element-of-variant-or-get-the-variant-of-an-element/m-p/8617096#M48679</guid>
      <dc:creator>patrick.emin</dc:creator>
      <dc:date>2019-02-24T10:23:18Z</dc:date>
    </item>
  </channel>
</rss>

