<?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 How to get the path of texture in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-the-path-of-texture/m-p/261656#M2314</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;How could I get the path of texture? I am trying to export the model by using Modeler::element, but I could not find the way to get the texture file location.&lt;BR /&gt;&lt;BR /&gt;Could you help me? Thanks in advance.&lt;/DIV&gt;</description>
    <pubDate>Wed, 15 Sep 2021 09:57:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-09-15T09:57:08Z</dc:date>
    <item>
      <title>How to get the path of texture</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-the-path-of-texture/m-p/261656#M2314</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;How could I get the path of texture? I am trying to export the model by using Modeler::element, but I could not find the way to get the texture file location.&lt;BR /&gt;&lt;BR /&gt;Could you help me? Thanks in advance.&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Sep 2021 09:57:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-the-path-of-texture/m-p/261656#M2314</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-15T09:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the path of texture</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-the-path-of-texture/m-p/261657#M2315</link>
      <description>&lt;BLOCKQUOTE&gt;scandi wrote:&lt;BR /&gt;How could I get the path of texture? I am trying to export the model by using Modeler::element, but I could not find the way to get the texture file location.Could you help me?&lt;/BLOCKQUOTE&gt;
A body texture image is best accessed through a body material using &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ModelerAPI::MeshBody::GetMaterial&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
You can get the texture for the material using &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ModelerAPI::Material::GetTexture&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
The texture bitmap (if it has one) can be accessed from the texture using &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ModelerAPI::Texture::GetPixelMap&lt;E&gt;&lt;/E&gt;</description>
      <pubDate>Fri, 17 Jul 2020 10:20:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-the-path-of-texture/m-p/261657#M2315</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2020-07-17T10:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the path of texture</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-the-path-of-texture/m-p/261658#M2316</link>
      <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;scandi wrote:&lt;BR /&gt;How could I get the path of texture? I am trying to export the model by using Modeler::element, but I could not find the way to get the texture file location.Could you help me?&lt;/BLOCKQUOTE&gt;
A body texture image is best accessed through a body material using &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ModelerAPI::MeshBody::GetMaterial&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
You can get the texture for the material using &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ModelerAPI::Material::GetTexture&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
The texture bitmap (if it has one) can be accessed from the texture using &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ModelerAPI::Texture::GetPixelMap&lt;E&gt;&lt;/E&gt;
&lt;/BLOCKQUOTE&gt;

I see. Thank you!</description>
      <pubDate>Fri, 17 Jul 2020 14:23:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-the-path-of-texture/m-p/261658#M2316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-17T14:23:04Z</dc:date>
    </item>
  </channel>
</rss>

