Configure utilities window
Utility manager window allows you to customize Utilities drop-down menu of the main toolbar. You can drag or hide standard utilities if you do not use them (AddInManager, Reports maker, SprutIDE, Calculator, Postprocessors generator etc.) and add external utilities instead that you want.
You can add as utility
any external executable file (*.exe, *.bat);
Sprut-script file (*.spr, *.s);
windows *.dll file which realizes simple plug-in of SprutCAM X interface which is below. The GUID of plug-in must be defined in Parameters of exe-file edit box.
IST_CAMPluginsEnumerator = interface(IUnknown)
['{719AC6C2-F83C-4C93-9E50-6AAFADBD8873}']
function MoveNext: WordBool; safecall;
function GetCurrent: TGUID; safecall;
end;
IST_CAMPlugin = interface(IUnknown)
['{80BBC39B-1E2B-4D46-B87E-3A3658A77063}']
function Get_PluginID: TGUID; safecall;
function Get_PluginCaption: WideString; safecall;
function Get_PluginDescription: WideString; safecall;
property PluginID: TGUID read Get_PluginID;
property PluginCaption: WideString read Get_PluginCaption;
property PluginDescription: WideString read Get_PluginDescription;
end;
IST_UtilitiesButtonCAMPlugin = interface(IST_CAMPlugin)
['{4B74BB21-9F48-4D62-9870-0A831C8AD2DA}']
procedure OnButtonClick(const SenderApplication: IUnknown); safecall;
end;
The plug-in dll should export two main finctions:
function GetPluginsEnumeratorOfType(PluginInterfaceID: TGUID): IST_CAMPluginsEnumerator; safecall;
function CreateInstanceOfPlugin(PluginID: TGUID): IST_CAMPlugin; safecall;
See also: