For a while now InfoNet and InfoWorks ICM has had the ability to apply an action to a button that can either float freely on set into the toolbar.
These are custom and user actions, the difference between these being that ‘User custom actions’ are actions specific to each individual user and are only available to that InfoNet Client running on the specific user machine whilst ‘Shared custom actions’ are actions available to all database users. It should be noted that Shared custom actions can only be edited by users with permission to change database-wide settings.
These Custom actions are shortcuts to run tasks that are performed regularly. Each action can be customised to emulate the effect of dropping a tree object onto the current GeoPlan Window, or dropping a workspace object onto the main window. Alternatively, an SQL or Ruby script can be associated with the action.
So how to create and apply one of these? Select Master database settings > User custom actions… or Master database settings > Shared custom actions… from the File menu. The Custom Actions Dialog will be displayed.
The dialog box allows for the definition of 10 custom actions via the dropdown list of 10 custom actions. An action title and action definition be given, the definition will then appear as a tooltip when the mouse hovers above the tool.
The section to select a database tree object or ruby script to be applied to the GeoPlan when the custom action is selected, (either a tree object or Ruby script may be selected; it is not possible to select both.)
It is possible to drag and drop the database tree object into this section or navigate using the explorer provided in the dialog box.
Once a tree object or ruby script is associated with a tool, these become activated and are not greyed out, and clicking on these will then execute the tree object or script.