<?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: Create and export materials based on PBR maps in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13436179#M320</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/581699"&gt;@spacefrog_&lt;/a&gt;&amp;nbsp;, That really has no bearing on creating an *.adsklib (Autodesk Material Library) that can be distributed to Revit users for loading Revit Render Materials into a Revit Project file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17251478"&gt;@l_neumann57FQ9&lt;/a&gt;&amp;nbsp;, I got curious as to whether an *.adsklib was actually usable between different Autodesk products and... Nope. The initial libraries may live in the same location on your computer, but most of what actually gets shared between the different libraries are the image files, the actual libraries aren't cross platform compatible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I came to this conclusion by opening AutoCAD and opening Revit and finding the default library for each (honestly hoping that they would be the same library and that perhaps access could be obtained via the AutoCAD object ARX SDK for the purpose of building the materials and libraries for Revit). They were different library files (even though they lived in the same ...Autodesk Shared... location).&lt;/P&gt;&lt;P&gt;I then loaded the Revit library into AutoCAD and the AutoCAD library into Revit. AutoCAD can open the Revit library and display the contents (although the folder/category structure is displayed differently) and even import a few random samples that I tried. Revit will open the AutoCAD library without errors, but it shows as being empty.&lt;/P&gt;&lt;P&gt;My guess as to the reason for the difference in capabilities is that Revit has three possible aspects for it's materials: Appearance, Physical, and Thermal whereas AutoCAD only has the Appearance aspect. So AutoCAD perhaps simply ignores the additional information and loads the Appearance aspects, but Revit is looking for information that doesn't exist in the AutoCAD material library (Physical and Thermal) and sees them as being invalid or incomplete???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either way, the result is that that route (build the materials libraries in AutoCAD to import into Revit) simply isn't an option either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-G&lt;/P&gt;</description>
    <pubDate>Mon, 21 Apr 2025 18:38:59 GMT</pubDate>
    <dc:creator>GaryOrrMBI</dc:creator>
    <dc:date>2025-04-21T18:38:59Z</dc:date>
    <item>
      <title>Create and export materials based on PBR maps</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13427539#M316</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am currently looking into whether there is a solution to programmatically create and "export" materials in Revit. I would like to make it as easy as possible for Revit users to use our PBR materials and import them into Revit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As we create a lot of materials, we want this process to be as automated as possible.&lt;/P&gt;&lt;P&gt;So far I have found out that it is possible to create new materials via the Revit API and configure the necessary appearance assets such as colour, bump, transparency images.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;However, I am stuck when I want to create a material library and add the new material. I couldn't find anything about this in the SDK API documentation or in any of the existing topics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4987019"&gt;@GaryOrrMBI&lt;/a&gt; done a great job! However, he also describes the lack of API access to the material library here: &lt;A href="https://forums.autodesk.com/t5/revit-api-forum/materials-material-assets-appearance-structural-thermal-and-the/m-p/12089438" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/materials-material-assets-appearance-structural-thermal-and-the/m-p/12089438&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do I understand correctly that full automation through the Revit API is not possible and the only option is to create the libraries manually?&lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 17:03:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13427539#M316</guid>
      <dc:creator>l_neumann57FQ9</dc:creator>
      <dc:date>2025-04-15T17:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create and export materials based on PBR maps</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13433770#M317</link>
      <description>&lt;P&gt;I search for PBR and found &lt;EM&gt;professional bull riders&lt;/EM&gt; and this extensive list on Wikipedia, but no hint at what you may be referring to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://en.wikipedia.org/wiki/PBR" target="_blank"&gt;https://en.wikipedia.org/wiki/PBR&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Apr 2025 13:49:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13433770#M317</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2025-04-19T13:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create and export materials based on PBR maps</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13433819#M318</link>
      <description>&lt;P&gt;Sorry, I was referring to &lt;EM&gt;physically based rendering&lt;/EM&gt; (&lt;A href="https://en.wikipedia.org/wiki/Physically_based_rendering" target="_blank" rel="noopener"&gt;https://en.wikipedia.org/wiki/Physically_based_rendering&lt;/A&gt;). In Revit context this would be the "new" material appearance assets using the color, bump/normal, roughness and transparency images?!&lt;/P&gt;</description>
      <pubDate>Sat, 19 Apr 2025 15:08:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13433819#M318</guid>
      <dc:creator>l_neumann57FQ9</dc:creator>
      <dc:date>2025-04-19T15:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create and export materials based on PBR maps</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13434383#M319</link>
      <description>&lt;P&gt;As Autodesk has switched 3ds Max default materials to OpenPBR and is a strong supporter for OpenPBR, it would definitely make sense to look at the OpenPBR codebase while implementing some PBR support for Revit&lt;BR /&gt;&lt;A href="https://github.com/AcademySoftwareFoundation/OpenPBR" target="_blank"&gt;https://github.com/AcademySoftwareFoundation/OpenPBR&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Apr 2025 07:57:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13434383#M319</guid>
      <dc:creator>spacefrog_</dc:creator>
      <dc:date>2025-04-20T07:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create and export materials based on PBR maps</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13436179#M320</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/581699"&gt;@spacefrog_&lt;/a&gt;&amp;nbsp;, That really has no bearing on creating an *.adsklib (Autodesk Material Library) that can be distributed to Revit users for loading Revit Render Materials into a Revit Project file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17251478"&gt;@l_neumann57FQ9&lt;/a&gt;&amp;nbsp;, I got curious as to whether an *.adsklib was actually usable between different Autodesk products and... Nope. The initial libraries may live in the same location on your computer, but most of what actually gets shared between the different libraries are the image files, the actual libraries aren't cross platform compatible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I came to this conclusion by opening AutoCAD and opening Revit and finding the default library for each (honestly hoping that they would be the same library and that perhaps access could be obtained via the AutoCAD object ARX SDK for the purpose of building the materials and libraries for Revit). They were different library files (even though they lived in the same ...Autodesk Shared... location).&lt;/P&gt;&lt;P&gt;I then loaded the Revit library into AutoCAD and the AutoCAD library into Revit. AutoCAD can open the Revit library and display the contents (although the folder/category structure is displayed differently) and even import a few random samples that I tried. Revit will open the AutoCAD library without errors, but it shows as being empty.&lt;/P&gt;&lt;P&gt;My guess as to the reason for the difference in capabilities is that Revit has three possible aspects for it's materials: Appearance, Physical, and Thermal whereas AutoCAD only has the Appearance aspect. So AutoCAD perhaps simply ignores the additional information and loads the Appearance aspects, but Revit is looking for information that doesn't exist in the AutoCAD material library (Physical and Thermal) and sees them as being invalid or incomplete???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either way, the result is that that route (build the materials libraries in AutoCAD to import into Revit) simply isn't an option either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-G&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 18:38:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13436179#M320</guid>
      <dc:creator>GaryOrrMBI</dc:creator>
      <dc:date>2025-04-21T18:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create and export materials based on PBR maps</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13436888#M321</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/581699"&gt;@spacefrog_&lt;/a&gt;We do have an OpenPBR export on our roadmap as well. The more pressing task is to make it simple for current Revit users.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4987019"&gt;@GaryOrrMBI&lt;/a&gt;&amp;nbsp; Thank you for this test! It would have been my next research target to look at the other Autodesk products for something usable.&lt;BR /&gt;&lt;BR /&gt;Initially I though I could create the libraries manually. However, the important information within the &lt;EM&gt;adsklb&lt;/EM&gt; package is in the binary files. The XMLs only contain the information about the preview bitmaps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 07:34:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13436888#M321</guid>
      <dc:creator>l_neumann57FQ9</dc:creator>
      <dc:date>2025-04-22T07:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create and export materials based on PBR maps</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13436905#M322</link>
      <description>&lt;P&gt;By the way, The Building Coder did take a look at&amp;nbsp;&lt;A href="http://Material%20Management and Libraries" target="_blank" rel="noopener"&gt;Material Management and Libraries&lt;/A&gt;, including adsklib, though it's been a while since anything new was added:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.5" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.5&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 07:50:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13436905#M322</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2025-04-22T07:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create and export materials based on PBR maps</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13436960#M323</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/824630"&gt;@jeremy_tammik&lt;/a&gt;&amp;nbsp; Thank you for finding this. Please correct me if I am wrong:&lt;BR /&gt;&lt;BR /&gt;I went through these and, if nothing has changed since then, it is still not possible to interact with the material manager through the API (i.e., create, add and "export" a material library stored in an adsklb package).&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2013/05/copy-and-paste-api-applications-and-modeless-assertion.html#4" rel="nofollow" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2013/05/copy-and-paste-api-applications-and-modeless-assertion.html#4&lt;/A&gt; -&amp;gt; Not possible&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/library-adsklib/td-p/7161670" rel="nofollow" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/library-adsklib/td-p/7161670&lt;/A&gt; -&amp;gt; No more answers -&amp;gt; Not possible ?!&lt;BR /&gt;&lt;BR /&gt;Do I understand correctly, that the suggestion of using the copy and paste API refers to copy and paste between documents, not into material libraries (as used in the material manager)?&lt;BR /&gt;&lt;BR /&gt;One alternative to providing our materials through an &lt;EM&gt;adsklb&amp;nbsp;&lt;/EM&gt;libary could be to create an empty document and create the materials there. Then distribute the&amp;nbsp;&lt;EM&gt;.rvt&lt;/EM&gt; document.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 08:41:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13436960#M323</guid>
      <dc:creator>l_neumann57FQ9</dc:creator>
      <dc:date>2025-04-22T08:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create and export materials based on PBR maps</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13436983#M324</link>
      <description>&lt;P&gt;Yes, I confirm that is my understanding also. Unfortunately, that does not mean to guarantee that it is true &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 08:55:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-and-export-materials-based-on-pbr-maps/m-p/13436983#M324</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2025-04-22T08:55:11Z</dc:date>
    </item>
  </channel>
</rss>

