Is it possible to add lisp files to the CUI "LISP Files" section using .NET?
I can get the collection using:
var csMain = new CustomizationSection(Application.GetSystemVariable
LspFileCollection lspFiles = csMain.MenuGroup.LspFiles;
And this to add my lisp to the collection:
Unfortunately the changes are not saved and no lisps are loaded?
Solved! Go to Solution.
Solved! by matinau. See the answer in context.
The solution was to use csMain.SaveAs(menuFile + ".cuix"); instead of csMain.Save();
Looks like there's a bug in the API
Access a broad range of knowledge to help get the most out of your products and services.