<?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 Adding custom icons to compounds in Bifrost Forum</title>
    <link>https://forums.autodesk.com/t5/bifrost-forum/adding-custom-icons-to-compounds/m-p/9291781#M7208</link>
    <description>&lt;P&gt;i'd like to know what needs to be known in order to do this properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already know how to edit my .json files to add the needed metadata, but the path to the icon doesn't make sense at all. In the bif_lib_config files, the path to the icons folder is never initialized, yet it is able to load these icons while being in a folder next to the actual jsonLibs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have succeeded only once, by putting a custom compound and a custom icon in the rebel-pack folders, but somehow, if I arrange everything using the same fashion in my custom library, the custom icon doesn't appear on the compounds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the .svg format is not the problem as I was able to successfully load it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Feb 2020 05:51:55 GMT</pubDate>
    <dc:creator>mjcg91</dc:creator>
    <dc:date>2020-02-03T05:51:55Z</dc:date>
    <item>
      <title>Adding custom icons to compounds</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/adding-custom-icons-to-compounds/m-p/9291781#M7208</link>
      <description>&lt;P&gt;i'd like to know what needs to be known in order to do this properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already know how to edit my .json files to add the needed metadata, but the path to the icon doesn't make sense at all. In the bif_lib_config files, the path to the icons folder is never initialized, yet it is able to load these icons while being in a folder next to the actual jsonLibs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have succeeded only once, by putting a custom compound and a custom icon in the rebel-pack folders, but somehow, if I arrange everything using the same fashion in my custom library, the custom icon doesn't appear on the compounds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the .svg format is not the problem as I was able to successfully load it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 05:51:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/adding-custom-icons-to-compounds/m-p/9291781#M7208</guid>
      <dc:creator>mjcg91</dc:creator>
      <dc:date>2020-02-03T05:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom icons to compounds</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/adding-custom-icons-to-compounds/m-p/9292097#M7209</link>
      <description>&lt;P&gt;After investigating a bit, I was able to solve the problem. It was related to having compound scattered in sub-folders, and how the path was written.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At first, I had to put the icons folder in the compound path's sub-folder. I didn't know why it was working only by puting the icons folder in any level higher than the compound's root path. But then, I realised that the double dot "&lt;STRONG&gt;..&lt;/STRONG&gt;" means "go up one level".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So changing the path to this "&lt;EM&gt;&lt;STRONG&gt;../../icons/mjcg.svg&lt;/STRONG&gt;&lt;/EM&gt;" and It magically worked, with a single icon folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;                {
                    "metaName": "icon",
                    "metaType": "string",
                    "metaValue": "../../icons/mjcg.svg"
                },&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 09:57:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/adding-custom-icons-to-compounds/m-p/9292097#M7209</guid>
      <dc:creator>mjcg91</dc:creator>
      <dc:date>2020-02-03T09:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom icons to compounds</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/adding-custom-icons-to-compounds/m-p/11561674#M7210</link>
      <description>&lt;P&gt;Thanks for sharing.....many hours of head scratching is now at an end&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 10:42:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/adding-custom-icons-to-compounds/m-p/11561674#M7210</guid>
      <dc:creator>richard.clarkeZMEQF</dc:creator>
      <dc:date>2022-11-18T10:42:37Z</dc:date>
    </item>
  </channel>
</rss>

