<?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: Simple WPF with a chromium browser guide in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/simple-wpf-with-a-chromium-browser-guide/m-p/12407788#M8479</link>
    <description>&lt;P&gt;Thank you very much for sharing this simple solution. I added it to the blog for greater visibility:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2023/11/camera-target-and-toposolid-subdivision-material.html#2" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2023/11/camera-target-and-toposolid-subdivision-material.html#2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2023 10:16:32 GMT</pubDate>
    <dc:creator>jeremy_tammik</dc:creator>
    <dc:date>2023-11-29T10:16:32Z</dc:date>
    <item>
      <title>Simple WPF with a chromium browser guide</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/simple-wpf-with-a-chromium-browser-guide/m-p/12396552#M8478</link>
      <description>&lt;P&gt;This is for the all lost souls out there, may you avoid my suffering.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To create a chromium web browser in your revit addin, you need to reference cefsharp dlls. THis is where i have a major hiccup because I just installed the newest one by nuget. Dont do this. Revit already has them and it initializes them on start up.&lt;/P&gt;&lt;P&gt;Yuu just need to add them like the API .dlls . They are in the CefSharp folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For me it was&lt;/P&gt;&lt;P&gt;C:\Program Files\Autodesk\Revit 2022\CefSharp&lt;/P&gt;&lt;P&gt;the files are&amp;nbsp;&lt;/P&gt;&lt;P&gt;CefSharp.Core&lt;/P&gt;&lt;P&gt;CefSharp.Wpf&lt;/P&gt;&lt;P&gt;CefSharp.BrowserSubprocess.Core&lt;/P&gt;&lt;P&gt;CefSharp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;once installed you can just add a wpf window, reference the namespace and embed a chromium browser.&amp;nbsp;&lt;BR /&gt;Like this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;Window x:Class="RevitTestProject.TestWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:local="clr-namespace:RevitTestProject"
        xmlns:cef="clr-namespace:CefSharp.Wpf;assembly=CefSharp.Wpf"
        mc:Ignorable="d"
        Width="1000" Height="500"&amp;gt;
    &amp;lt;Grid Background="PapayaWhip"&amp;gt;

        &amp;lt;cef:ChromiumWebBrowser Name="ChromiumBrowser" Address="http://www.google.com" Width="900" Height="450"  /&amp;gt;
    &amp;lt;/Grid&amp;gt;
&amp;lt;/Window&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Hope this helps some one as i lost an entire day figuring this out.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 14:27:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/simple-wpf-with-a-chromium-browser-guide/m-p/12396552#M8478</guid>
      <dc:creator>Andrej.Licanin</dc:creator>
      <dc:date>2023-11-23T14:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Simple WPF with a chromium browser guide</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/simple-wpf-with-a-chromium-browser-guide/m-p/12407788#M8479</link>
      <description>&lt;P&gt;Thank you very much for sharing this simple solution. I added it to the blog for greater visibility:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2023/11/camera-target-and-toposolid-subdivision-material.html#2" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2023/11/camera-target-and-toposolid-subdivision-material.html#2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 10:16:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/simple-wpf-with-a-chromium-browser-guide/m-p/12407788#M8479</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2023-11-29T10:16:32Z</dc:date>
    </item>
  </channel>
</rss>

