
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to add items to the context menu that is present when the user right clicks. I found the AcEdUIContext class and it looks to be what I need but it seems like a lot of overhead just to add a single text item to the menu. Is there a simpler way to add text items to the menu?
I was struggling to get it into my solution properly so I went looking for examples online as there were none in the 2014/2016 SDK but I was unable to find any out in the wild. I did find that there was an example in the 2007 SDK, which I was able to download. I attempted to convert it over to the newer SDKs using both 32 bit and 64 bit releases but I am getting error LNK1104: cannot open file 'acad.lib' I've tried using relative paths, absolute paths, and even defining acad.lib in the additional dependencies as "C:\ObjectARX 2016\lib-x64\acad.lib" I did this both with and without quotation marks. I have attached the modified sample projects. The 2007 SDK is available at http://download.autodesk.com/esd/objectarx/2007/Arx_All.exe
Thank you.
Solved! Go to Solution.