Enable save as

Technical discussions
Post Reply
Andrea Chan
Posts: 1
Joined: Wed Mar 31, 2021 4:30 am

Enable save as

Post by Andrea Chan »

Hello
Can anybody save me time looking for this: Is there a way to enable save model as in the right-click dgkernel menu?
thanks

rocky35
Posts: 2
Joined: Thu Sep 05, 2013 5:23 am

Re: Enable save as

Post by rocky35 »

If you search for eMenuCommandSaveAs in samples you will find many examples. In C# it looks like:

Code: Select all

IView_DG v = myDgk.GetView();
IMenu_KC menu = v as IMenu_KC;
menu.Enable((int)EMenuCommand_KC.eMenuCommandSaveAs, true);
R

Post Reply