<?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 Setting the fill origin in an object fill in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Setting-the-fill-origin-in-an-object-fill/m-p/263436#M6673</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have just successfully been tweaking the out-of-the-box Swimming Pool library part to show separate cut fills and plan fills for the different parts of the object. (Thanks Barry Kelly!).&lt;BR /&gt;
&lt;BR /&gt;
Now I want to set the origin for the fill pattern on the pool coping in plan. I tried to use POLY2_B{2} which seems to be the right command, but it has no effect in the object, the fill still uses the Project Origin rather than a localised fill origin.&lt;BR /&gt;
&lt;BR /&gt;
Is there a bug in the POLY2_B{2} command? I attach my revised object so you can see what I mean.&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 21 Feb 2017 00:47:31 GMT</pubDate>
    <dc:creator>Daniel Lindahl</dc:creator>
    <dc:date>2017-02-21T00:47:31Z</dc:date>
    <item>
      <title>Setting the fill origin in an object fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Setting-the-fill-origin-in-an-object-fill/m-p/263436#M6673</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have just successfully been tweaking the out-of-the-box Swimming Pool library part to show separate cut fills and plan fills for the different parts of the object. (Thanks Barry Kelly!).&lt;BR /&gt;
&lt;BR /&gt;
Now I want to set the origin for the fill pattern on the pool coping in plan. I tried to use POLY2_B{2} which seems to be the right command, but it has no effect in the object, the fill still uses the Project Origin rather than a localised fill origin.&lt;BR /&gt;
&lt;BR /&gt;
Is there a bug in the POLY2_B{2} command? I attach my revised object so you can see what I mean.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 Feb 2017 00:47:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Setting-the-fill-origin-in-an-object-fill/m-p/263436#M6673</guid>
      <dc:creator>Daniel Lindahl</dc:creator>
      <dc:date>2017-02-21T00:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the fill origin in an object fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Setting-the-fill-origin-in-an-object-fill/m-p/263437#M6674</link>
      <description>No object attached but it may be that you are just missing the extra status codes for the frame fill.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;frame_fill = j1 + 2*j2 + 4*j3 + 8*j4 + 16*j5 + 32*j6 +64*j7&lt;BR /&gt;
where j1, j2, j3, j4 j5, j6, j7 can be 0 or 1.&lt;BR /&gt;
j1 (1): contour only&lt;BR /&gt;
j2 (2): fill only&lt;BR /&gt;
j3 (4): close an open polygon&lt;BR /&gt;
j4 (8): local fill orientation&lt;BR /&gt;
j5 (16): global fill origin (effective only if j4 is set)&lt;BR /&gt;
j6 (32): fill in cut category (distinctive with j7, drafting category if none is set)&lt;BR /&gt;
j7 (64): fill in cover category (distinctive with j6, drafting category if none is set)&lt;/BLOCKQUOTE&gt;

In particular "j4" needs to be on to use the user origin.&lt;BR /&gt;
&lt;BR /&gt;
Add a couple of variables for the x &amp;amp; y position (which you will have already done) and make a moveable hotspot from them so you don't have to open the object settings to make the parameter changes.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Tue, 21 Feb 2017 01:22:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Setting-the-fill-origin-in-an-object-fill/m-p/263437#M6674</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-02-21T01:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the fill origin in an object fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Setting-the-fill-origin-in-an-object-fill/m-p/263438#M6675</link>
      <description>Thanks again Barry, the status code was the problem, I wasn't aware of that one. How important is it to set the j7 (64): fill in cover category? I didn't bother with it, not sure it would affect things at all.&lt;BR /&gt;
&lt;BR /&gt;
Thanks too for the tip about making a graphical hotspot - it forced me to look back in the cookbook and do a bit of research, then I managed to include that as well!&lt;BR /&gt;
&lt;BR /&gt;
Not sure why my forum post attachment didn't work last time, I'll try it again now so you can see what I've done. I'll also attach a plan view PDF as an experiment. If only that goes through it might be that attachments are limited to certain file types, maybe just image files.</description>
      <pubDate>Tue, 21 Feb 2017 07:33:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Setting-the-fill-origin-in-an-object-fill/m-p/263438#M6675</guid>
      <dc:creator>Daniel Lindahl</dc:creator>
      <dc:date>2017-02-21T07:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the fill origin in an object fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Setting-the-fill-origin-in-an-object-fill/m-p/263439#M6676</link>
      <description>Good to see you got it working Daniel.&lt;BR /&gt;
From what I can tell J6 &amp;amp; J7 just determine if the fill is treated as a cut or cover fill or drafting fill if left as zero (I assume for Model View Option / Graphical Override control).&lt;BR /&gt;
I can't say I have ever used them.&lt;BR /&gt;
&lt;BR /&gt;
Yes you can only attached certain file types - GSM is not one of them.&lt;BR /&gt;
You have to ZIP these to attach.&lt;BR /&gt;
&lt;BR /&gt;
But before you do be aware of the licensing conditions on Graphisoft object.&lt;BR /&gt;
It seems you are free to modify them for your own use but you are not supposed to redistribute the amended objects.&lt;BR /&gt;
&lt;BR /&gt;
See this discussion ...&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=47320" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... hp?t=47320"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?t=47320&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Tue, 21 Feb 2017 07:57:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Setting-the-fill-origin-in-an-object-fill/m-p/263439#M6676</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-02-21T07:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the fill origin in an object fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Setting-the-fill-origin-in-an-object-fill/m-p/263440#M6677</link>
      <description>Hi again Barry,&lt;BR /&gt;
&lt;BR /&gt;
I altered the script so much that it is unrecognisable, but these days there is not much of a market for us object developers anyway! I used to sell quite a lot on ObjectsOnline before Abvent marched in like Putin and drove out the little guys!&lt;BR /&gt;
Then for a while I tried to market them through Scott Barrington's Object Factory. Not much to show for that.&lt;BR /&gt;
&lt;BR /&gt;
Anyhow, in that last message I had zipped up the GSM file, but it still wouldn't go. I'll try again, but if it doesn't work this time (and if you are interested) you can email me on &lt;A href="mailto: d.lindahl@live.com"&gt;d.lindahl@live.com&lt;/A&gt; and I'll send it back to you that way!</description>
      <pubDate>Tue, 21 Feb 2017 11:08:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Setting-the-fill-origin-in-an-object-fill/m-p/263440#M6677</guid>
      <dc:creator>Daniel Lindahl</dc:creator>
      <dc:date>2017-02-21T11:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the fill origin in an object fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Setting-the-fill-origin-in-an-object-fill/m-p/263441#M6678</link>
      <description>Only one file of image can be attached at one time.&lt;BR /&gt;
&lt;BR /&gt;
Looks like it is working well - I obviously don't have the same fills as you (my template is completely different).&lt;BR /&gt;
The base hotspot for the y offset is a bit confusing so I would hide that one.&lt;BR /&gt;
&lt;BR /&gt;
Barry.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/14166i6FCB77D6913C84C1/image-size/large?v=v2&amp;amp;px=999" border="0" alt="pool_hotspot.jpg" title="pool_hotspot.jpg" /&gt;</description>
      <pubDate>Wed, 22 Feb 2017 00:43:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Setting-the-fill-origin-in-an-object-fill/m-p/263441#M6678</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-02-22T00:43:32Z</dc:date>
    </item>
  </channel>
</rss>

