Author Topic: Autocad 2016 Ribbon Loaded Unloaded events  (Read 2010 times)

0 Members and 1 Guest are viewing this topic.

Keith Brown

  • Swamp Rat
  • Posts: 601
Autocad 2016 Ribbon Loaded Unloaded events
« on: October 07, 2015, 10:59:23 AM »
Started a project for 2016 last night and these events are no longer available in the RibbonPaletteSet.  Did they move?  Are they no longer available for use?


I checked Autocad 2015 for Developers and Autocad 2016 for Developers and I did not find any mention of it.
« Last Edit: October 07, 2015, 11:05:43 AM by Keith Brown »
Keith Brown | AutoCAD MEP Blog | RSS Feed
AutoCAD MEP 2014 / Revit MEP 2014 / EastCoast CAD/CAM addon / Visual Studio 2013

Keith Brown

  • Swamp Rat
  • Posts: 601
Re: Autocad 2016 Ribbon Loaded Unloaded events
« Reply #1 on: October 07, 2015, 11:24:58 AM »
Possibly these have been changed to the WorkspaceLoaded and WorkspaceUnloaded Events?  along with with SaveRibbonState() and RestoreRibbonState()?
Keith Brown | AutoCAD MEP Blog | RSS Feed
AutoCAD MEP 2014 / Revit MEP 2014 / EastCoast CAD/CAM addon / Visual Studio 2013

Jeff_M

  • King Gator
  • Posts: 4088
  • C3D user & customizer
Re: Autocad 2016 Ribbon Loaded Unloaded events
« Reply #2 on: October 07, 2015, 11:40:17 AM »
Yep, looks like they've done a bit of work on this:

n.yuan

  • Bull Frog
  • Posts: 348
Re: Autocad 2016 Ribbon Loaded Unloaded events
« Reply #3 on: October 07, 2015, 01:23:18 PM »
Actually, the changes were made in AutoCAD 2015. I have code that dynamically loads custom ribbon tab in early AutoCAd version, which was discovered being broken when we move to AutoCAD 2015. And yes, I used WorkspaceLoaded event in the place of Loaded event when fixing the code for AutoCAD 2015 upgrade.

Keith Brown

  • Swamp Rat
  • Posts: 601
Re: Autocad 2016 Ribbon Loaded Unloaded events
« Reply #4 on: October 07, 2015, 03:13:12 PM »
Thanks Norman and Jeff. 
Keith Brown | AutoCAD MEP Blog | RSS Feed
AutoCAD MEP 2014 / Revit MEP 2014 / EastCoast CAD/CAM addon / Visual Studio 2013