Attempting to transfer my AutoCAD 2010 routines into AutoCAD 2017 using VS2015.
Problem: In AutoCAD 2010 VS2010 I could do this:
Public Shared cs As CustomizationSection
Public Sub Initialize() Implements Autodesk.AutoCAD.Runtime.IExtensionApplication.Initialize
' Retrieve the location of, and open the ACAD Main CUI File for edit
Dim mainCuiFile As String = DirectCast(Application.GetSystemVariable("MENUNAME"), String)
mainCuiFile += ".cuix"
cs = New CustomizationSection(mainCuiFile)
End Sub
In AutoCAD 2017 VS2015 the 'CustomizationSection' class seems to be missing from the AutoCAD API.
Anyone have any idea where they moved it, or what the AutoCAD 2017 VS2015 equivalent of the code above would be?
Thanks