UserInterface provides some control of the Mechanical user interface. This API is available using the following entry point:
ExtAPI.UserInterface
It allows you to control the ACT development, Button Editor, and ACT extension-defined ribbon tabs. It cannot be used to control other toolbars or to create new buttons, ribbon tabs, or toolbars.
ExtAPI.UserInterface.Toolbars
is a collection of toolbar objects.
Each object has fields such as
Name
,Caption
,Visibility
, andchild
to access entries.Each child has the following properties:
Caption
,Enabled
,Entries
,EntryType
,Name
, andVisible
.
The Boolean fields Visible
and Enabled
can be set to show
or hide
so that you can
control the availability of the buttons depending on the current context.