<?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: Failed to Load ImagePath in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/failed-to-load-imagepath/m-p/11129465#M19450</link>
    <description>&lt;P&gt;Thanks a lot for all your Effort and Help.&lt;BR /&gt;The Issue was that something changed from 2022-2023 because the .bmp file we used in 2022 had different colored backgrounds. After i changed the Backgrounds to your image background, everything worked.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2022 13:34:43 GMT</pubDate>
    <dc:creator>florian.schaeferTJTBZ</dc:creator>
    <dc:date>2022-04-26T13:34:43Z</dc:date>
    <item>
      <title>Failed to Load ImagePath</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/failed-to-load-imagepath/m-p/11127007#M19446</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i try to Place a Temporary In-Canvas Graphic in Revit like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;var&lt;/SPAN&gt; activeUiDoc = document.Application.ActiveUIDocument;
        &lt;SPAN class=""&gt;var&lt;/SPAN&gt; activeDbDoc = activeUiDoc.Document;



        &lt;SPAN class=""&gt;using&lt;/SPAN&gt; (&lt;SPAN class=""&gt;var&lt;/SPAN&gt; graphicsManager = TemporaryGraphicsManager.GetTemporaryGraphicsManager(activeDbDoc))
        {

            &lt;SPAN class=""&gt;try&lt;/SPAN&gt;
            {
                &lt;SPAN class=""&gt;var&lt;/SPAN&gt; insertionPoint = activeUiDoc.Selection.PickPoint(&lt;SPAN class=""&gt;"Select insertion Point"&lt;/SPAN&gt;);
                &lt;SPAN class=""&gt;var&lt;/SPAN&gt; logoData = &lt;SPAN class=""&gt;new&lt;/SPAN&gt; InCanvasControlData(&lt;SPAN class=""&gt;@"C:\Program Files\Autodesk\Revit 2023\uniE1D2.bmp"&lt;/SPAN&gt;, XYZ.Zero);

                &lt;SPAN class=""&gt;var&lt;/SPAN&gt; index = graphicsManager.AddControl(logoData, ElementId.InvalidElementId);
            } catch(Exception ex) 
            {
                &lt;SPAN class=""&gt;return&lt;/SPAN&gt;;
            }
        }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i get a "Failed to load the image from specified path." Error message. I have tried various different Paths, the Error stays.&lt;/P&gt;&lt;P&gt;Is there an Issue with the Revit 2023 Api? What can i try to get my image displayed.&lt;BR /&gt;Thanks for the help.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 14:51:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/failed-to-load-imagepath/m-p/11127007#M19446</guid>
      <dc:creator>florian.schaeferTJTBZ</dc:creator>
      <dc:date>2022-04-25T14:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to Load ImagePath</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/failed-to-load-imagepath/m-p/11127358#M19447</link>
      <description>&lt;P&gt;Looks like is working fine on Revit 2023.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a simple example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://github.com/ricaun-io/RevitAddin.TemporaryGraphicsExample" target="_blank"&gt;https://github.com/ricaun-io/RevitAddin.TemporaryGraphicsExample&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;See yaa&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 17:19:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/failed-to-load-imagepath/m-p/11127358#M19447</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2022-04-25T17:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to Load ImagePath</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/failed-to-load-imagepath/m-p/11128823#M19448</link>
      <description>&lt;P&gt;Are you sure you are using Revit2023.exe when i start your project it asks for Revit2022.exe?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 08:41:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/failed-to-load-imagepath/m-p/11128823#M19448</guid>
      <dc:creator>florian.schaeferTJTBZ</dc:creator>
      <dc:date>2022-04-26T08:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to Load ImagePath</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/failed-to-load-imagepath/m-p/11129209#M19449</link>
      <description>&lt;P&gt;The default version is 2022 but I tested on Revit 2023.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FV5mMk6y0X8c%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DV5mMk6y0X8c&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FV5mMk6y0X8c%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="200" height="112" scrolling="no" title="TemporaryGraphicsExample (English)" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 11:32:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/failed-to-load-imagepath/m-p/11129209#M19449</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2022-04-26T11:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to Load ImagePath</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/failed-to-load-imagepath/m-p/11129465#M19450</link>
      <description>&lt;P&gt;Thanks a lot for all your Effort and Help.&lt;BR /&gt;The Issue was that something changed from 2022-2023 because the .bmp file we used in 2022 had different colored backgrounds. After i changed the Backgrounds to your image background, everything worked.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 13:34:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/failed-to-load-imagepath/m-p/11129465#M19450</guid>
      <dc:creator>florian.schaeferTJTBZ</dc:creator>
      <dc:date>2022-04-26T13:34:43Z</dc:date>
    </item>
  </channel>
</rss>

