<?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: Accessing Revit context menus in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9015690#M39931</link>
    <description>&lt;P&gt;Nope, I meant 'use the native Windows API and .NET library functionality to access and manipulate existing context menus'. In Windows, you can do almost anything you like in the user interface, including hook into other applications' context menus, cf.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/search?q=%22context+menu%22+windows" target="_blank"&gt;https://stackoverflow.com/search?q=%22context+menu%22+windows&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2019 07:06:27 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2019-09-10T07:06:27Z</dc:date>
    <item>
      <title>Accessing Revit context menus</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9013962#M39928</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm in the process of writing a small plugin which would act as a project browser and do various things which would be helpful to me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The current project browser allows the user to right click on a view to access thinks like 'Duplicate View' or 'Rename' etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way I can 'link' to the context menu from addin, so the user right clicks and I get Revit to display the appropriate menu?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or alternatively, is there any way to create a right click menu (I can't see anything in the API documentation).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 13:09:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9013962#M39928</guid>
      <dc:creator>Kevin.Bell</dc:creator>
      <dc:date>2019-09-09T13:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Revit context menus</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9014807#M39929</link>
      <description>&lt;P&gt;Afaik, the Revit API does not provide any support for this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, there is nothing to stop you from using the .NET functionality to access and manipulate the context menus to your heart's content.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 19:31:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9014807#M39929</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-09-09T19:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Revit context menus</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9015682#M39930</link>
      <description>&lt;P&gt;Thanks for the reply Jeremy, but I don't follow what you mean by 'access and manipulate the context menus' as you said there was no support for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you mean - create my own context menus?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 07:00:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9015682#M39930</guid>
      <dc:creator>Kevin.Bell</dc:creator>
      <dc:date>2019-09-10T07:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Revit context menus</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9015690#M39931</link>
      <description>&lt;P&gt;Nope, I meant 'use the native Windows API and .NET library functionality to access and manipulate existing context menus'. In Windows, you can do almost anything you like in the user interface, including hook into other applications' context menus, cf.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/search?q=%22context+menu%22+windows" target="_blank"&gt;https://stackoverflow.com/search?q=%22context+menu%22+windows&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 07:06:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9015690#M39931</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-09-10T07:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Revit context menus</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9016360#M39932</link>
      <description>&lt;P&gt;Thanks for your reply, I'll take a look.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 12:34:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9016360#M39932</guid>
      <dc:creator>Kevin.Bell</dc:creator>
      <dc:date>2019-09-10T12:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Revit context menus</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9017337#M39933</link>
      <description>&lt;P&gt;Are you right clicking items on your own dialog?&amp;nbsp; If so, you can just create your own context menu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WPF&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.google.com/search?q=wpf+context+menu" target="_blank"&gt;https://www.google.com/search?q=wpf+context+menu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Windows Forms&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.google.com/search?q=windows+forms+context+menu" target="_blank"&gt;https://www.google.com/search?q=windows+forms+context+menu&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 18:24:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9017337#M39933</guid>
      <dc:creator>BobbyC.Jones</dc:creator>
      <dc:date>2019-09-10T18:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Revit context menus</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9017344#M39934</link>
      <description>&lt;P&gt;I was hoping to link into Revit's menus, and maybe the commands would run from the menu.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for example, when the user right clicks on Sheets node in the Project browser a menu pops up and allow the creation of a new sheet etc - I was hoping to somehow link to the menu so I would not have to create my own and create similar menu options commands....&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 18:28:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9017344#M39934</guid>
      <dc:creator>Kevin.Bell</dc:creator>
      <dc:date>2019-09-10T18:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Revit context menus</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9017345#M39935</link>
      <description>&lt;P&gt;I should add, that If I can't access Revit's menu then I'll have to create my own using WPF as you say...&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 18:29:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/accessing-revit-context-menus/m-p/9017345#M39935</guid>
      <dc:creator>Kevin.Bell</dc:creator>
      <dc:date>2019-09-10T18:29:53Z</dc:date>
    </item>
  </channel>
</rss>

