<?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 all Fill Pattern types in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/10991558#M41161</link>
    <description>&lt;P&gt;Types of pattern&amp;nbsp;&lt;/P&gt;&lt;P&gt;Types of patterns used in Casting Process&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;BR /&gt;Types of patterns:&lt;BR /&gt;The following factors affect the choice of a pattern.&lt;BR /&gt;(i) &amp;nbsp;Number of Castings to be produced.&lt;BR /&gt;(ii) &amp;nbsp;Size and complexity of the shape and size of casting&lt;BR /&gt;(iii) &amp;nbsp;Type of molding and castings method to be used.&lt;BR /&gt;(iv) &amp;nbsp;Machining operation&lt;BR /&gt;(v) &amp;nbsp;Characteristics of castings&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Types of pattern are following :---&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;UL&gt;&lt;LI&gt;Single Piece Pattern: It is simplest type of pattern which is made in single piece. ...&lt;/LI&gt;&lt;LI&gt;Split Pattern or Multi Piece Pattern: These patterns are made into two or more pieces. ...&lt;/LI&gt;&lt;LI&gt;Cope and Drag Pattern: ...&lt;/LI&gt;&lt;LI&gt;Match Plate Pattern: ...&lt;/LI&gt;&lt;LI&gt;Loose Piece Pattern: ...&lt;/LI&gt;&lt;LI&gt;Gated Pattern: ...&lt;/LI&gt;&lt;LI&gt;Sweep Pattern: ...&lt;/LI&gt;&lt;LI&gt;Skeleton Pattern:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For more details about &lt;A title="Types of pattern " href="https://marinerspointpro.com/types-of-pattern/" target="_blank" rel="noopener"&gt;types of pattern&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 02 Aug 2022 02:21:16 GMT</pubDate>
    <dc:creator>kumarsanjeev919989</dc:creator>
    <dc:date>2022-08-02T02:21:16Z</dc:date>
    <item>
      <title>Get all Fill Pattern types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/8900927#M41153</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking to write an addin that analyses all fill patterns within a project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to do two things, get all placed fill patterns from the project, and get all fill pattern types.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can easily get the placed filled patterns with:&lt;/P&gt;&lt;PRE&gt;FilteredElementCollector getallFillRegions = new FilteredElementCollector(doc).OfClass(typeof(FilledRegion));&lt;/PRE&gt;&lt;P&gt;But I can't seem to obtain all of the filled pattern types from the project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried all the classes associated with fill patterns, to no avail, I'd appreciate some advise on how to obtain a list of these.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 12:34:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/8900927#M41153</guid>
      <dc:creator>Kevin.Bell</dc:creator>
      <dc:date>2019-07-10T12:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get all Fill Pattern types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/8901116#M41154</link>
      <description>&lt;P&gt;try&amp;nbsp; to add&amp;nbsp; &amp;nbsp;.WhereElementIsNotElementType()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 13:38:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/8901116#M41154</guid>
      <dc:creator>Yien_Chao</dc:creator>
      <dc:date>2019-07-10T13:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get all Fill Pattern types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/8901130#M41155</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;You should provide FillPatternElement type to OfClass method. On each element, you can call GetFillPattern to retrieve FillPattern instance&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 13:45:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/8901130#M41155</guid>
      <dc:creator>aignatovich</dc:creator>
      <dc:date>2019-07-10T13:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get all Fill Pattern types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/8901135#M41156</link>
      <description>&lt;P&gt;your are right! i misread. my bad.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 13:47:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/8901135#M41156</guid>
      <dc:creator>Yien_Chao</dc:creator>
      <dc:date>2019-07-10T13:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Get all Fill Pattern types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/8902612#M41157</link>
      <description>&lt;P&gt;Have a look at Victor Chekalin's&amp;nbsp;coding that Jeremy Tammik presents here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2014/04/wpf-fill-pattern-viewer-control-benchmark.html" target="_blank" rel="noopener"&gt;https://thebuildingcoder.typepad.com/blog/2014/04/wpf-fill-pattern-viewer-control-benchmark.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get a list of the fills within current project:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="blue"&gt;var&lt;/SPAN&gt; fillPatternElements&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &lt;SPAN class="blue"&gt;new&lt;/SPAN&gt; &lt;SPAN class="teal"&gt;FilteredElementCollector&lt;/SPAN&gt;( doc )&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .OfClass( &lt;SPAN class="blue"&gt;typeof&lt;/SPAN&gt;( &lt;SPAN class="teal"&gt;FillPatternElement&lt;/SPAN&gt; ) )&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .OfType&amp;lt;&lt;SPAN class="teal"&gt;FillPatternElement&lt;/SPAN&gt;&amp;gt;()&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .OrderBy( fp =&amp;gt; fp.Name )&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .ToList();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hth,&lt;/P&gt;&lt;P&gt;Hugh Adamson.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 01:53:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/8902612#M41157</guid>
      <dc:creator>hugha</dc:creator>
      <dc:date>2019-07-11T01:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get all Fill Pattern types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/8903613#M41158</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I my post slightly incorrect, what I'm trying to get is the Filled Region types from a project, not the actual patterns:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 556px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/656513i9C0AF798A6CC650C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I.e. return the 'Test Region Fill' as shown above along with all the others in the project. (Apologies for not writing the post accurately...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried a few ways to get these, but still no joy, this method returns all placed Filled Regions, not the types:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FilteredElementCollector getAllRegions = new FilteredElementCollector(doc).OfClass(typeof(FilledRegion)).WhereElementIsNotElementType();&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I could iterate all returned regions to obtain their types, but I'd like to directly obtain all types in the project as some types might not be placed...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 12:50:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/8903613#M41158</guid>
      <dc:creator>Kevin.Bell</dc:creator>
      <dc:date>2019-07-11T12:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Get all Fill Pattern types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/8903636#M41159</link>
      <description>&lt;P&gt;What about ".OfClass(typeof(FilledRegionType)" ?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 12:57:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/8903636#M41159</guid>
      <dc:creator>aignatovich</dc:creator>
      <dc:date>2019-07-11T12:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get all Fill Pattern types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/8903644#M41160</link>
      <description>&lt;P&gt;Excellent - that worked!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 12:59:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/8903644#M41160</guid>
      <dc:creator>Kevin.Bell</dc:creator>
      <dc:date>2019-07-11T12:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get all Fill Pattern types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/10991558#M41161</link>
      <description>&lt;P&gt;Types of pattern&amp;nbsp;&lt;/P&gt;&lt;P&gt;Types of patterns used in Casting Process&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;BR /&gt;Types of patterns:&lt;BR /&gt;The following factors affect the choice of a pattern.&lt;BR /&gt;(i) &amp;nbsp;Number of Castings to be produced.&lt;BR /&gt;(ii) &amp;nbsp;Size and complexity of the shape and size of casting&lt;BR /&gt;(iii) &amp;nbsp;Type of molding and castings method to be used.&lt;BR /&gt;(iv) &amp;nbsp;Machining operation&lt;BR /&gt;(v) &amp;nbsp;Characteristics of castings&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Types of pattern are following :---&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;UL&gt;&lt;LI&gt;Single Piece Pattern: It is simplest type of pattern which is made in single piece. ...&lt;/LI&gt;&lt;LI&gt;Split Pattern or Multi Piece Pattern: These patterns are made into two or more pieces. ...&lt;/LI&gt;&lt;LI&gt;Cope and Drag Pattern: ...&lt;/LI&gt;&lt;LI&gt;Match Plate Pattern: ...&lt;/LI&gt;&lt;LI&gt;Loose Piece Pattern: ...&lt;/LI&gt;&lt;LI&gt;Gated Pattern: ...&lt;/LI&gt;&lt;LI&gt;Sweep Pattern: ...&lt;/LI&gt;&lt;LI&gt;Skeleton Pattern:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For more details about &lt;A title="Types of pattern " href="https://marinerspointpro.com/types-of-pattern/" target="_blank" rel="noopener"&gt;types of pattern&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 Aug 2022 02:21:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-all-fill-pattern-types/m-p/10991558#M41161</guid>
      <dc:creator>kumarsanjeev919989</dc:creator>
      <dc:date>2022-08-02T02:21:16Z</dc:date>
    </item>
  </channel>
</rss>

