<?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 Indexnumber of fill created in gdl in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Indexnumber-of-fill-created-in-gdl/m-p/582517#M44608</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am trying to make a gdl object that uses some custom fills&lt;/P&gt;
&lt;P&gt;Is it possible to find the attribute index number of a fill created in gdl?&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;made the fill "Terrain50" with command:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;define&lt;/SPAN&gt; &lt;SPAN&gt;translucent_fill&lt;/SPAN&gt;&lt;SPAN&gt; Terrain50 &lt;/SPAN&gt;&lt;SPAN&gt;filltypes_mask&lt;/SPAN&gt; &lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;SPAN&gt;4&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;50&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Or are there standard archicad index numbers which are always the same&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; for fills like solid fill/empty fill/ 25%fill/ 50%fill/ 75%fill ?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Is it possible to assign a fill to the newly foldersystem?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 04 Jan 2024 09:03:10 GMT</pubDate>
    <dc:creator>cuba</dc:creator>
    <dc:date>2024-01-04T09:03:10Z</dc:date>
    <item>
      <title>Indexnumber of fill created in gdl</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Indexnumber-of-fill-created-in-gdl/m-p/582517#M44608</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am trying to make a gdl object that uses some custom fills&lt;/P&gt;
&lt;P&gt;Is it possible to find the attribute index number of a fill created in gdl?&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;made the fill "Terrain50" with command:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;define&lt;/SPAN&gt; &lt;SPAN&gt;translucent_fill&lt;/SPAN&gt;&lt;SPAN&gt; Terrain50 &lt;/SPAN&gt;&lt;SPAN&gt;filltypes_mask&lt;/SPAN&gt; &lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;SPAN&gt;4&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;50&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Or are there standard archicad index numbers which are always the same&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; for fills like solid fill/empty fill/ 25%fill/ 50%fill/ 75%fill ?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Is it possible to assign a fill to the newly foldersystem?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Jan 2024 09:03:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Indexnumber-of-fill-created-in-gdl/m-p/582517#M44608</guid>
      <dc:creator>cuba</dc:creator>
      <dc:date>2024-01-04T09:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Indexnumber of fill created in gdl</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Indexnumber-of-fill-created-in-gdl/m-p/583089#M44610</link>
      <description>&lt;P&gt;If you define a fill in GDL, it will create an index number that is not being used in the current file.&lt;/P&gt;
&lt;P&gt;This may be different in different files as it just uses the first available index number.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are concerned with index numbers, then you are better off creating the attribute in your template.&lt;/P&gt;
&lt;P&gt;You can save this attribute as a XML file and you can import it into any other file using the 'override by index number' option.&lt;/P&gt;
&lt;P&gt;You will still have problems if someone creates a different attribute with your number in another file first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a bit of an art to managing attributes if you want to be fussy about them.&lt;/P&gt;
&lt;P&gt;Basically, I create an attribute (for all attribute types) in my template with a much higher number than the existing attributes.&lt;/P&gt;
&lt;P&gt;Now when a user creates a new attribute, it will be created with an index number higher than the highest I have just created.&lt;/P&gt;
&lt;P&gt;But when I create a new attribute to use in my template, I manipulate the number so it is lower than the highest number I created, but not one of the lowest available numbers either.&lt;/P&gt;
&lt;P&gt;Now I can export that as an XML file and import it into any other file (based on my template) and know that the index numbers will be as I want them, and not get messed up by any attributes the users create.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Should any GDL objects create attributes, they will be the lowest available index numbers - so I leave those free and never use them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So in effect I create a buffer where I can create attributes with the index numbers I want, and can control them.&lt;/P&gt;
&lt;P&gt;I leave maybe 50 to 100 low attribute numbers available for GDL objects (more if you want), and create a high index attribute (could be 1000 or 10000 if you want) so all user made attributes are higher than that.&lt;/P&gt;
&lt;P&gt;That gives me a range of attribute numbers available below 1000 (or 10000) that I can use with no problem of them clashing with anything else.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Until we have a centrally managed attribute system for all files, this is the best method I have found to control them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 06:36:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Indexnumber-of-fill-created-in-gdl/m-p/583089#M44610</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2024-01-08T06:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Indexnumber of fill created in gdl</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Indexnumber-of-fill-created-in-gdl/m-p/583121#M44611</link>
      <description>&lt;P&gt;Hello Barry,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your thorough explanation.&lt;/P&gt;
&lt;P&gt;I have now created an object that creates a new set of fills by itself. With ind(fill, ) I can read these indexes.&lt;/P&gt;
&lt;P&gt;I want to make the object so that it can be used on different templates preferably without importing/exporting xml files (&amp;gt; dummyproof for students)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some questions about this:&lt;BR /&gt;&lt;BR /&gt;1/ Is it possible to assign own index numbers to set of fills? or bulk customization of index numbers?&lt;/P&gt;
&lt;P&gt;2/ Is it possible to assign a new attribute to a folder?&lt;/P&gt;
&lt;P&gt;3/ Is it also possible to delete fills with gdl?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 10:06:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Indexnumber-of-fill-created-in-gdl/m-p/583121#M44611</guid>
      <dc:creator>cuba</dc:creator>
      <dc:date>2024-01-08T10:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Indexnumber of fill created in gdl</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Indexnumber-of-fill-created-in-gdl/m-p/583525#M44626</link>
      <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;1/ Is it possible to assign own index numbers to set of fills? or bulk customization of index numbers?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Not if you are defining attributes in GDL.&lt;/P&gt;
&lt;P&gt;As far as I know you have no control over the attribute numbers in GDL - they are automatically assigned based on the file the object is loaded into.&lt;/P&gt;
&lt;P&gt;Can be different attribute numbers in different files if those files have already different attributes.&lt;/P&gt;
&lt;P&gt;You can only control attribute numbers in the Attribute Manager.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;2/ Is it possible to assign a new attribute to a folder?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Not as far as I know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;3/ Is it also possible to delete fills with gdl?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;No, only with the Attribute Manager.&lt;/P&gt;
&lt;P&gt;But if you have defined fills in a loaded object, they will simply re-generate again.&lt;/P&gt;
&lt;P&gt;The only way to remove them is to remove the object that generates them from the loaded library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 09:16:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Indexnumber-of-fill-created-in-gdl/m-p/583525#M44626</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2024-01-11T09:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Indexnumber of fill created in gdl</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Indexnumber-of-fill-created-in-gdl/m-p/583545#M44627</link>
      <description>&lt;P&gt;Thank you for your answers, Barry!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 12:30:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Indexnumber-of-fill-created-in-gdl/m-p/583545#M44627</guid>
      <dc:creator>cuba</dc:creator>
      <dc:date>2024-01-11T12:30:05Z</dc:date>
    </item>
  </channel>
</rss>

