Has UserInterfaceManager::CommandBars been silently obsoleted?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm implementing an addin and the following code from one of the API samples references it but I cannot find anything about the collection in the API documentation for Inventor 2013 not even as Obsoleted member. Is the Classic Interface nolonger supported by 2013? if so when did it become unsupported?
'Add the button to the part features toolbar
Dim userInterfaceMgr As UserInterfaceManager
userInterfaceMgr = m_inventorApp.UserInterfaceManager
Dim interfaceStyle As InterfaceStyleEnum = userInterfaceMgr.InterfaceStyle
'Create the UI for classic interface
If interfaceStyle = InterfaceStyleEnum.kClassicInterface Then
'Get the commandBars collection
Dim commandBars As CommandBars
commandBars = userInterfaceMgr.CommandBars
'Get the part features toolbar
Dim partFeaturesToolbar As Inventor.CommandBar
partFeaturesToolbar = commandBars("PMxPartFeatureCmdBar")
'Add the "Rack Face" button to the toolbar
partFeaturesToolbar.Controls.AddButton(m_ProcessBOMCmd.ButtonDefinition, 0)