Enabling Save As option in kernelcad window

Technical discussions
Post Reply
A_D
Posts: 4
Joined: Thu Feb 19, 2015 9:54 am

Enabling Save As option in kernelcad window

Post by A_D »

Hi
The 'Save As' option on the component is disabled for me all the time. Can this be enabled?
Thanks
A.D.

nickz
Site Admin
Posts: 236
Joined: Fri Jul 26, 2013 3:58 am

Re: Enabling Save As option in kernelcad window

Post by nickz »

A_D,
You can enable the “save as” option with:
IView iView = m_kernCAD.GetView();
IMenu_KC iMenu = (IMenu_KC)iView;
iMenu.Enable( (int)EMenuCommand_KC.eMenuCommandSaveAs, true);
You can find a working example by searching for eMenuCommandSaveAs in samples folder. See also: http://www.dynoinsight.com/Help/Component/Menu.aspx
It is disabled by default because some models are valuable and can be secured in different ways
Nick

A_D
Posts: 4
Joined: Thu Feb 19, 2015 9:54 am

Re: Enabling Save As option in kernelcad window

Post by A_D »

Thanks a lot, Nick
A_D

Post Reply