<?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 Is it possible to get import scale value of a fill pattern using Revit API? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-get-import-scale-value-of-a-fill-pattern-using/m-p/9226390#M37616</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to retrieve 'Import scale' value of a project fill pattern using Revit API? If so then how?&lt;/P&gt;&lt;P&gt;I am looking for ways to retrieve the scale value which i can use in generating the preview image of a fill pattern in code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jan 2020 13:27:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-01-01T13:27:28Z</dc:date>
    <item>
      <title>Is it possible to get import scale value of a fill pattern using Revit API?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-get-import-scale-value-of-a-fill-pattern-using/m-p/9226390#M37616</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to retrieve 'Import scale' value of a project fill pattern using Revit API? If so then how?&lt;/P&gt;&lt;P&gt;I am looking for ways to retrieve the scale value which i can use in generating the preview image of a fill pattern in code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 13:27:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-get-import-scale-value-of-a-fill-pattern-using/m-p/9226390#M37616</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-01T13:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get import scale value of a fill pattern using Revit API?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-get-import-scale-value-of-a-fill-pattern-using/m-p/9226491#M37617</link>
      <description>&lt;P&gt;I cannot tell you offhand. I would have to create a minimal model and explore that, e.g., using RevitLookup.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you research it yourself as described here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2017/01/virtues-of-reproduction-research-mep-settings-ontology.html#3" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2017/01/virtues-of-reproduction-research-mep-settings-ontology.html#3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 16:06:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-get-import-scale-value-of-a-fill-pattern-using/m-p/9226491#M37617</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-01-01T16:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get import scale value of a fill pattern using Revit API?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-get-import-scale-value-of-a-fill-pattern-using/m-p/9227278#M37618</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked RevitLookup (couldn't find any members representing scale value), and i checked Revit API documentation (to see if there are any parameterized methods for the same, and to search for it in general).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was also searching forums in general and found your &lt;A href="https://thebuildingcoder.typepad.com/blog/2014/04/wpf-fill-pattern-viewer-control.html" target="_blank" rel="noopener"&gt;blog demonstrating preview generation for FillPatterns&lt;/A&gt;. In there you've hard coded scale (=50 for Model type, and 500 for drafting), however Scale value is not fixed and Revit UI allows user to modify it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i thought to post it in forum to see someone has it figured-out or has direction to point me to for exploring further (like if it can be derived indirectly from computation of certain properties etc).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking forward to hear from you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Shivani&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 12:41:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-get-import-scale-value-of-a-fill-pattern-using/m-p/9227278#M37618</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-02T12:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get import scale value of a fill pattern using Revit API?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-get-import-scale-value-of-a-fill-pattern-using/m-p/9227540#M37619</link>
      <description>&lt;P&gt;How does the user modify the scale?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the modification is saved in the Revit database, and it probably is, then it is almost certainly attached to some database element, and maybe accessible via an element parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe to the view?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 14:42:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-get-import-scale-value-of-a-fill-pattern-using/m-p/9227540#M37619</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-01-02T14:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get import scale value of a fill pattern using Revit API?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-get-import-scale-value-of-a-fill-pattern-using/m-p/9230026#M37620</link>
      <description>&lt;P&gt;AFAIK import scale factor is not retained within the project following its import.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A kludge could include a scale as text within the pattern name on import for later reference but this will not assist you with preexisting fills.&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;www;hatchkit.com.au&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2020 19:52:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-get-import-scale-value-of-a-fill-pattern-using/m-p/9230026#M37620</guid>
      <dc:creator>hugha</dc:creator>
      <dc:date>2020-01-03T19:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get import scale value of a fill pattern using Revit API?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-get-import-scale-value-of-a-fill-pattern-using/m-p/11685271#M37621</link>
      <description>&lt;P&gt;I submitted this issue to the enginering team for consultation and maybe a workaround. Here is the resonse I got:&lt;/P&gt;&lt;P&gt;'I was able to learn the following. The recommended workflow through the UI is to duplicate and change the import scale. However, the scale is not directly exposed through the API. It is possible to get/set FillGrids and to get/set FillGrid's Segments. Therefore, it possible to reproduce the UI workflow through the API to some extent, by duplicating a pattern and then scaling its contents directly. There is some missing information. First of all, the import scale value. Second, it is necessary to adjust "window size" (a hidden property of the pattern) after setting the fill grids.'&lt;/P&gt;&lt;P&gt;Kindly, attempt above and see if you can come up with some sort of workaround.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 13:48:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-get-import-scale-value-of-a-fill-pattern-using/m-p/11685271#M37621</guid>
      <dc:creator>caroline.gitonga</dc:creator>
      <dc:date>2023-01-17T13:48:34Z</dc:date>
    </item>
  </channel>
</rss>

