TheSwamp

Code Red => .NET => Topic started by: Keith Brown on October 07, 2015, 10:59:23 AM

Title: Autocad 2016 Ribbon Loaded Unloaded events
Post by: Keith Brown 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 (http://through-the-interface.typepad.com/through_the_interface/2014/03/autocad-2015-for-developers.html) and Autocad 2016 for Developers (http://through-the-interface.typepad.com/through_the_interface/2015/03/autocad-2016-for-developers.html) and I did not find any mention of it.
Title: Re: Autocad 2016 Ribbon Loaded Unloaded events
Post by: Keith Brown 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()?
Title: Re: Autocad 2016 Ribbon Loaded Unloaded events
Post by: Jeff_M on October 07, 2015, 11:40:17 AM
Yep, looks like they've done a bit of work on this:
Title: Re: Autocad 2016 Ribbon Loaded Unloaded events
Post by: n.yuan 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.
Title: Re: Autocad 2016 Ribbon Loaded Unloaded events
Post by: Keith Brown on October 07, 2015, 03:13:12 PM
Thanks Norman and Jeff.