ConnectToBCC() 

Description

Utilized in the main *.lua file to create the connection to the BobCAD-CAM software.  This is typically where you will create your button controls on the ribbon to start your Lua plug-in.


This function is called during the initialization of the BobCAD software product or when the reload option is pressed in the Installed Lua Plug-ins dialog.

Example


function ConnectToBCC()

       Bcc.AddCommand({ TabName="My Tab", GroupName="My Group", ButtonName="My Button", CallbackFuncName="myFunction", ImageNameLarge="my_icon.png", ImageNameSmall="my_icon.png", ToolTip="My Tooltip" })

end